#B28DFF

Plum

#B28DFFPlum

Luminance

0.357

Category

Purple

Type

Dark

Best On

#FFFFFF

Color Codes

All color formats for your project

HEX

HEX
#B28DFF
No #
B28DFF

RGB

RGB
rgb(178, 141, 255)
Values
R:178 G:141 B:255

HSL

HSL
hsl(259, 100%, 78%)
Values
H:259° S:100% L:78%

HSV / HSB

HSV
hsv(259, 45%, 100%)
Values
H:259° S:45% V:100%

CMYK

CMYK
cmyk(30%, 45%, 0%, 0%)
Values
C:30 M:45 Y:0 K:0

LAB

LAB
lab(66, 38, -52)
Values
L:66 a:38 b:-52

OKLCH

OKLCH
oklch(72.5% 0.164 297.1)
Values
L:72.5% C:0.164 H:297.1°

Code Formats

CSS
color: #B28DFF;
Swift
UIColor(red: 0.698, green: 0.553, blue: 1.000, alpha: 1.0)
Kotlin
Color(0xFFB28DFF)
Flutter
Color(0xFFB28DFF)
Android
#FFB28DFF

Contrast Analysis

WCAG compliance with grayscale colors

On White

2.58:1

Fail

On Black

8.15:1

AAA

Grayscale Contrast

Aa

0%

8.1

AAA
Aa

10%

6.8

AA
Aa

20%

4.9

AA
Aa

30%

3.3

AA-large
Aa

40%

2.2

Fail
Aa

50%

1.6

Fail
Aa

60%

1.1

Fail
Aa

70%

1.2

Fail
Aa

80%

1.6

Fail
Aa

90%

2.0

Fail
Aa

100%

2.6

Fail

Best Grayscale Contrast

#000000 with ratio 8.15:1

Aa

Color Harmonies

Harmonious color combinations

complementary

Two colors opposite on the color wheel (180°)

split-complementary

Base color + two colors adjacent to its complement

triadic

Three colors evenly spaced (120° apart)

tetradic

Four colors evenly spaced (90° apart)

analogous

Three colors adjacent on the color wheel (30° apart)

Color Variations

Tints, shades, tones, and full scale

Color Scale (50-900)

50

100

200

300

400

500

600

700

800

900

Tints (Lighter)

Shades (Darker)

Tones (Desaturated)

Gradients (OKLCH)

Primary

90°
CSS
linear-gradient(90deg, #CBB3FF 0%, #6D29FF 100%)
OKLCH
linear-gradient(90deg, oklch(81.4% 0.108 298.5) 0%, oklch(52.8% 0.278 286.4) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #9666FF 0%, #8F5CFF 100%)
OKLCH
linear-gradient(135deg, oklch(63.7% 0.217 293.8) 0%, oklch(61.6% 0.229 292.8) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #B28DFF 0%, #DBFF8F 100%)
OKLCH
linear-gradient(90deg, oklch(72.5% 0.164 297.1) 0%, oklch(95.0% 0.144 123.7) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #8FA3FF 0%, #B28DFF 50%, #EA8FFF 100%)
OKLCH
linear-gradient(90deg, oklch(73.8% 0.135 273.4) 0%, oklch(72.5% 0.164 297.1) 50%, oklch(78.4% 0.179 319.9) 100%)
Stops
0%
50%
100%

Sunset

90°
CSS
linear-gradient(90deg, #F6CE55 0%, #EE6C2B 50%, #E6193C 100%)
OKLCH
linear-gradient(90deg, oklch(86.4% 0.144 90.6) 0%, oklch(68.0% 0.177 43.8) 50%, oklch(59.1% 0.228 21.2) 100%)
Stops
0%
50%
100%

Ocean

135°
CSS
linear-gradient(135deg, #19A1E6 0%, #22C3B6 50%, #47D1A3 100%)
OKLCH
linear-gradient(135deg, oklch(67.5% 0.146 238.9) 0%, oklch(73.8% 0.124 186.2) 50%, oklch(77.5% 0.136 166.9) 100%)
Stops
0%
50%
100%

Dark Mode

180°
CSS
linear-gradient(180deg, #7433FF 0%, #170934 100%)
OKLCH
linear-gradient(180deg, oklch(54.3% 0.271 288.1) 0%, oklch(19.3% 0.079 292.3) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #A880FF 0%, #7E42FF 100%)
OKLCH
radial-gradient(circle, oklch(69.4% 0.182 295.8) 0%, oklch(56.7% 0.258 290.1) 100%)
Stops
0%
100%

💡 About OKLCH Gradients

OKLCH (Oklch Color Space) provides perceptually uniform gradients with better color transitions than traditional RGB/HSL gradients. The format is oklch(L% C H) where L = Lightness (0-100%), C = Chroma (0-0.4), H = Hue (0-360°).

Generate Full Palette

Create a complete brand palette from this color with primary, secondary, accent, and neutral scales.

View Palette