#B02DCD#B02DCD
#B02DCD is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.9% C 0.241 H 319.4°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #B02DCD |
|---|---|
| RGB | rgb(176, 45, 205) |
| HSL | hsl(289, 64%, 49%) |
| HSV | hsv(289, 78%, 80%) |
| CMYK | cmyk(14.1%, 78%, 0%, 19.6%) |
| CIE-LAB | lab(46.33, 71.23, -55.74) |
| CIE-LCH | lch(46.33, 90.44, 321.96°) |
| OKLab | oklab(56.91% 0.1827 -0.1566) |
| OKLCH | oklch(56.91% 0.241 319.4) |
| XYZ | xyz(29.8609, 15.5162, 59.1678) |
| Luminance | 0.1552 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Vibrant Purple
#AD03DE
ΔE00 3.68
Barney
#AC1DB8
ΔE00 3.96
Darkorchid
#9932CC
ΔE00 4.19
Purply
#983FB2
ΔE00 5.18
Bright Purple
#BE03FD
ΔE00 6.27
Hot Purple
#CB00F5
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B02DCD #4ACD2D
analogous
#602DCD #B02DCD #CD2D9A
triadic
#B02DCD #CDB02D #2DCDB0
tetradic
#B02DCD #CD602D #4ACD2D #2D9ACD
square
#B02DCD #CD602D #4ACD2D #2D9ACD
split-complementary
#B02DCD #9ACD2D #2DCD60
monochromatic
#5A1769 #85229B #B02DCD #C45CDB #D68EE6
Accessibility & contrast
On white
5.12
#B02DCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#B02DCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B02DCD
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B02DCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B02DCD | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#3A72CA
Tritanopia (blue-blind)
#B0507D
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #b02dcd; /* rgb */ color: rgb(176, 45, 205); /* oklch */ color: oklch(56.9% 0.241 319.4);
Tailwind
colors: {
custom: {
50: '#cc76dd',
500: '#b02dcd',
950: '#000000',
},
}SCSS
$custom: #b02dcd; $custom-light: #cc76dd; $custom-dark: #000000;
JSON
{
"hex": "#b02dcd",
"rgb": {
"r": 176,
"g": 45,
"b": 205
},
"hsl": {
"h": 289.125,
"s": 64,
"l": 49.02
},
"oklch": {
"l": 0.56909,
"c": 0.24065,
"h": 319.4
},
"luminance": 0.15515
}Semantic roles & 50–950 ramp
primary
#B02DCD
secondary
#93D185
accent
#E7415F
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83