#B23CD2#B23CD2
#B23CD2 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.7% C 0.230 H 318.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #B23CD2 |
|---|---|
| RGB | rgb(178, 60, 210) |
| HSL | hsl(287, 63%, 53%) |
| HSV | hsv(287, 71%, 82%) |
| CMYK | cmyk(15.2%, 71.4%, 0%, 17.6%) |
| CIE-LAB | lab(48.70, 67.53, -54.79) |
| CIE-LCH | lch(48.70, 86.96, 320.94°) |
| OKLab | oklab(58.75% 0.1715 -0.1539) |
| OKLCH | oklch(58.75% 0.23 318.1) |
| XYZ | xyz(31.6072, 17.3513, 62.6445) |
| Luminance | 0.1735 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Hot Purple
#CB00F5
ΔE00 5.40
Vibrant Purple
#AD03DE
ΔE00 5.46
Mediumorchid
#BA55D3
ΔE00 5.49
Lightish Purple
#A552E6
ΔE00 5.53
Darkorchid
#9932CC
ΔE00 5.69
Bright Purple
#BE03FD
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B23CD2 #5CD23C
analogous
#673CD2 #B23CD2 #D23CA7
triadic
#B23CD2 #D2B23C #3CD2B2
tetradic
#B23CD2 #D2673C #5CD23C #3CA7D2
square
#B23CD2 #D2673C #5CD23C #3CA7D2
split-complementary
#B23CD2 #A7D23C #3CD267
monochromatic
#641C78 #8E27AA #B23CD2 #C66EDD #D99FE9
Accessibility & contrast
On white
4.70
#B23CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#B23CD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B23CD2
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B23CD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B23CD2 | 1.00 | 4.70 | 4.47 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#4377CF
Tritanopia (blue-blind)
#B15A84
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #b23cd2; /* rgb */ color: rgb(178, 60, 210); /* oklch */ color: oklch(58.7% 0.230 318.1);
Tailwind
colors: {
custom: {
50: '#cd7ce0',
500: '#b23cd2',
950: '#000000',
},
}SCSS
$custom: #b23cd2; $custom-light: #cd7ce0; $custom-dark: #000000;
JSON
{
"hex": "#b23cd2",
"rgb": {
"r": 178,
"g": 60,
"b": 210
},
"hsl": {
"h": 287.2,
"s": 62.5,
"l": 52.941
},
"oklch": {
"l": 0.58748,
"c": 0.23037,
"h": 318.1
},
"luminance": 0.1735
}Semantic roles & 50–950 ramp
primary
#B23CD2
secondary
#A2D594
accent
#E64265
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140A15
muted
#837C83