#B251CF#B251CF
#B251CF is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 60.8% C 0.201 H 317.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #B251CF |
|---|---|
| RGB | rgb(178, 81, 207) |
| HSL | hsl(286, 57%, 56%) |
| HSV | hsv(286, 61%, 81%) |
| CMYK | cmyk(14%, 60.9%, 0%, 18.8%) |
| CIE-LAB | lab(51.67, 58.17, -48.32) |
| CIE-LCH | lch(51.67, 75.62, 320.28°) |
| OKLab | oklab(60.83% 0.1486 -0.1351) |
| OKLCH | oklch(60.83% 0.201 317.7) |
| XYZ | xyz(32.5634, 19.8561, 61.1367) |
| Luminance | 0.1986 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 2.02
Lightish Purple
#A552E6
ΔE00 4.84
Amethyst
#9B5FC0
ΔE00 5.07
Pinky Purple
#C94CBE
ΔE00 6.00
Pinkish Purple
#D648D7
ΔE00 6.24
Purple Pink
#D725DE
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B251CF #6ECF51
analogous
#7351CF #B251CF #CF51AD
triadic
#B251CF #CFB251 #51CFB2
tetradic
#B251CF #CF7351 #6ECF51 #51ADCF
square
#B251CF #CF7351 #6ECF51 #51ADCF
split-complementary
#B251CF #ADCF51 #51CF73
monochromatic
#6C2482 #9431B2 #B251CF #C781DC #DCB1E9
Accessibility & contrast
On white
4.22
#B251CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#B251CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B251CF
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B251CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B251CF | 1.00 | 4.22 | 4.97 | 4.97 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D75D3
Deuteranopia (green-blind)
#567ECC
Tritanopia (blue-blind)
#B16689
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #b251cf; /* rgb */ color: rgb(178, 81, 207); /* oklch */ color: oklch(60.8% 0.201 317.7);
Tailwind
colors: {
custom: {
50: '#cc87de',
500: '#b251cf',
950: '#000000',
},
}SCSS
$custom: #b251cf; $custom-light: #cc87de; $custom-dark: #000000;
JSON
{
"hex": "#b251cf",
"rgb": {
"r": 178,
"g": 81,
"b": 207
},
"hsl": {
"h": 286.19,
"s": 56.757,
"l": 56.471
},
"oklch": {
"l": 0.60832,
"c": 0.20078,
"h": 317.7
},
"luminance": 0.19855
}Semantic roles & 50–950 ramp
primary
#B251CF
secondary
#B0D8A4
accent
#E0486B
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83