#B23CCD#B23CCD
#B23CCD is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.4% C 0.226 H 319.5°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #B23CCD |
|---|---|
| RGB | rgb(178, 60, 205) |
| HSL | hsl(289, 59%, 52%) |
| HSV | hsv(289, 71%, 80%) |
| CMYK | cmyk(13.2%, 70.7%, 0%, 19.6%) |
| CIE-LAB | lab(48.39, 66.59, -52.41) |
| CIE-LCH | lch(48.39, 84.74, 321.80°) |
| OKLab | oklab(58.43% 0.1718 -0.1469) |
| OKLCH | oklch(58.43% 0.226 319.5) |
| XYZ | xyz(30.9940, 17.1060, 59.4150) |
| Luminance | 0.1710 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 5.59
Vibrant Purple
#AD03DE
ΔE00 5.67
Barney
#AC1DB8
ΔE00 5.68
Darkorchid
#9932CC
ΔE00 5.73
Purply
#983FB2
ΔE00 5.77
Hot Purple
#CB00F5
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B23CCD #57CD3C
analogous
#6A3CCD #B23CCD #CD3C9F
triadic
#B23CCD #CDB23C #3CCDB2
tetradic
#B23CCD #CD6A3C #57CD3C #3C9FCD
square
#B23CCD #CD6A3C #57CD3C #3C9FCD
split-complementary
#B23CCD #9FCD3C #3CCD6A
monochromatic
#621D71 #8C2AA2 #B23CCD #C56DD9 #D89DE6
Accessibility & contrast
On white
4.75
#B23CCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#B23CCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B23CCD
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B23CCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B23CCD | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#4777CA
Tritanopia (blue-blind)
#B25881
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #b23ccd; /* rgb */ color: rgb(178, 60, 205); /* oklch */ color: oklch(58.4% 0.226 319.5);
Tailwind
colors: {
custom: {
50: '#cd7cdd',
500: '#b23ccd',
950: '#000000',
},
}SCSS
$custom: #b23ccd; $custom-light: #cd7cdd; $custom-dark: #000000;
JSON
{
"hex": "#b23ccd",
"rgb": {
"r": 178,
"g": 60,
"b": 205
},
"hsl": {
"h": 288.828,
"s": 59.184,
"l": 51.961
},
"oklch": {
"l": 0.58432,
"c": 0.22607,
"h": 319.5
},
"luminance": 0.17104
}Semantic roles & 50–950 ramp
primary
#B23CCD
secondary
#9ED293
accent
#E24563
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140A15
muted
#837C83