#B02FC9#B02FC9
#B02FC9 is a mid, highly saturated purple. Relative luminance 0.155; OKLCH L 56.8% C 0.236 H 320.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #B02FC9 |
|---|---|
| RGB | rgb(176, 47, 201) |
| HSL | hsl(290, 62%, 49%) |
| HSV | hsv(290, 77%, 79%) |
| CMYK | cmyk(12.4%, 76.6%, 0%, 21.2%) |
| CIE-LAB | lab(46.29, 69.91, -53.50) |
| CIE-LCH | lch(46.29, 88.03, 322.57°) |
| OKLab | oklab(56.79% 0.1816 -0.15) |
| OKLCH | oklch(56.79% 0.236 320.4) |
| XYZ | xyz(29.4624, 15.4818, 56.6834) |
| Luminance | 0.1548 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 3.63
Vibrant Purple
#AD03DE
ΔE00 4.22
Darkorchid
#9932CC
ΔE00 4.45
Purply
#983FB2
ΔE00 4.84
Hot Purple
#CB00F5
ΔE00 6.67
Medium Purple
#9E43A2
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B02FC9 #48C92F
analogous
#632FC9 #B02FC9 #C92F95
triadic
#B02FC9 #C9B02F #2FC9B0
tetradic
#B02FC9 #C9632F #48C92F #2F95C9
square
#B02FC9 #C9632F #48C92F #2F95C9
split-complementary
#B02FC9 #95C92F #2FC963
monochromatic
#591866 #852397 #B02FC9 #C55CD9 #D68EE5
Accessibility & contrast
On white
5.13
#B02FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#B02FC9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B02FC9
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B02FC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B02FC9 | 1.00 | 5.13 | 4.10 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065CD
Deuteranopia (green-blind)
#4072C6
Tritanopia (blue-blind)
#B14F7B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #b02fc9; /* rgb */ color: rgb(176, 47, 201); /* oklch */ color: oklch(56.8% 0.236 320.4);
Tailwind
colors: {
custom: {
50: '#cc76da',
500: '#b02fc9',
950: '#000000',
},
}SCSS
$custom: #b02fc9; $custom-light: #cc76da; $custom-dark: #000000;
JSON
{
"hex": "#b02fc9",
"rgb": {
"r": 176,
"g": 47,
"b": 201
},
"hsl": {
"h": 290.26,
"s": 62.097,
"l": 48.627
},
"oklch": {
"l": 0.56795,
"c": 0.23559,
"h": 320.4
},
"luminance": 0.1548
}Semantic roles & 50–950 ramp
primary
#B02FC9
secondary
#91CF85
accent
#E5435D
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83