#BD42C9#BD42C9
#BD42C9 is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.3% C 0.220 H 324.1°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #BD42C9 |
|---|---|
| RGB | rgb(189, 66, 201) |
| HSL | hsl(295, 56%, 52%) |
| HSV | hsv(295, 67%, 79%) |
| CMYK | cmyk(6%, 67.2%, 0%, 21.2%) |
| CIE-LAB | lab(50.61, 65.99, -46.47) |
| CIE-LCH | lch(50.61, 80.71, 324.84°) |
| OKLab | oklab(60.27% 0.1784 -0.1293) |
| OKLCH | oklch(60.27% 0.22 324.1) |
| XYZ | xyz(33.4762, 18.9343, 57.1384) |
| Luminance | 0.1893 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.82
Mediumorchid
#BA55D3
ΔE00 3.83
Pinky Purple
#C94CBE
ΔE00 4.49
Purple Pink
#D725DE
ΔE00 4.51
Pinkish Purple
#D648D7
ΔE00 5.47
Hot Purple
#CB00F5
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BD42C9 #4EC942
analogous
#7A42C9 #BD42C9 #C94291
triadic
#BD42C9 #C9BD42 #42C9BD
tetradic
#BD42C9 #C97A42 #4EC942 #4291C9
square
#BD42C9 #C97A42 #4EC942 #4291C9
split-complementary
#BD42C9 #91C942 #42C97A
monochromatic
#692070 #962EA0 #BD42C9 #CE72D7 #DEA1E4
Accessibility & contrast
On white
4.39
#BD42C9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.79
#BD42C9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #BD42C9
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BD42C9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##BD42C9 | 1.00 | 4.39 | 4.79 | 4.79 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#216FCD
Deuteranopia (green-blind)
#597EC6
Tritanopia (blue-blind)
#C15880
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #bd42c9; /* rgb */ color: rgb(189, 66, 201); /* oklch */ color: oklch(60.3% 0.220 324.1);
Tailwind
colors: {
custom: {
50: '#d480da',
500: '#bd42c9',
950: '#000000',
},
}SCSS
$custom: #bd42c9; $custom-light: #d480da; $custom-dark: #000000;
JSON
{
"hex": "#bd42c9",
"rgb": {
"r": 189,
"g": 66,
"b": 201
},
"hsl": {
"h": 294.667,
"s": 55.556,
"l": 52.353
},
"oklch": {
"l": 0.60274,
"c": 0.22036,
"h": 324.1
},
"luminance": 0.18932
}Semantic roles & 50–950 ramp
primary
#BD42C9
secondary
#9BD196
accent
#DF4956
background
#FDF8FD
surface
#FBEFFB
border
#D4CAD4
text
#150B15
muted
#837C83