#B237CC#B237CC
#B237CC is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.9% C 0.231 H 320.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #B237CC |
|---|---|
| RGB | rgb(178, 55, 204) |
| HSL | hsl(290, 59%, 51%) |
| HSV | hsv(290, 73%, 80%) |
| CMYK | cmyk(12.7%, 73%, 0%, 20%) |
| CIE-LAB | lab(47.70, 68.21, -52.95) |
| CIE-LCH | lch(47.70, 86.35, 322.18°) |
| OKLab | oklab(57.92% 0.1767 -0.1484) |
| OKLCH | oklch(57.92% 0.231 320) |
| XYZ | xyz(30.6240, 16.5585, 58.6981) |
| Luminance | 0.1656 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 4.95
Vibrant Purple
#AD03DE
ΔE00 5.08
Darkorchid
#9932CC
ΔE00 5.27
Purply
#983FB2
ΔE00 5.46
Hot Purple
#CB00F5
ΔE00 6.02
Mediumorchid
#BA55D3
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B237CC #51CC37
analogous
#6737CC #B237CC #CC379C
triadic
#B237CC #CCB237 #37CCB2
tetradic
#B237CC #CC6737 #51CC37 #379CCC
square
#B237CC #CC6737 #51CC37 #379CCC
split-complementary
#B237CC #9CCC37 #37CC67
monochromatic
#5F1C6D #89289E #B237CC #C568D8 #D899E5
Accessibility & contrast
On white
4.87
#B237CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#B237CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B237CC
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B237CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B237CC | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#4575C9
Tritanopia (blue-blind)
#B3557F
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #b237cc; /* rgb */ color: rgb(178, 55, 204); /* oklch */ color: oklch(57.9% 0.231 320.0);
Tailwind
colors: {
custom: {
50: '#cd7adc',
500: '#b237cc',
950: '#000000',
},
}SCSS
$custom: #b237cc; $custom-light: #cd7adc; $custom-dark: #000000;
JSON
{
"hex": "#b237cc",
"rgb": {
"r": 178,
"g": 55,
"b": 204
},
"hsl": {
"h": 289.53,
"s": 59.363,
"l": 50.784
},
"oklch": {
"l": 0.57917,
"c": 0.23075,
"h": 320
},
"luminance": 0.16557
}Semantic roles & 50–950 ramp
primary
#B237CC
secondary
#9AD08E
accent
#E34561
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83