#B23FCF#B23FCF
#B23FCF is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.8% C 0.224 H 318.8°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #B23FCF |
|---|---|
| RGB | rgb(178, 63, 207) |
| HSL | hsl(288, 60%, 53%) |
| HSV | hsv(288, 70%, 81%) |
| CMYK | cmyk(14%, 69.6%, 0%, 18.8%) |
| CIE-LAB | lab(48.92, 65.83, -52.72) |
| CIE-LCH | lch(48.92, 84.34, 321.31°) |
| OKLab | oklab(58.84% 0.1687 -0.1478) |
| OKLCH | oklch(58.84% 0.224 318.8) |
| XYZ | xyz(31.3986, 17.5264, 60.7484) |
| Luminance | 0.1752 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 5.06
Lightish Purple
#A552E6
ΔE00 5.63
Hot Purple
#CB00F5
ΔE00 5.80
Vibrant Purple
#AD03DE
ΔE00 6.02
Purple Pink
#D725DE
ΔE00 6.03
Darkorchid
#9932CC
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B23FCF #5CCF3F
analogous
#6A3FCF #B23FCF #CF3FA4
triadic
#B23FCF #CFB23F #3FCFB2
tetradic
#B23FCF #CF6A3F #5CCF3F #3FA4CF
square
#B23FCF #CF6A3F #5CCF3F #3FA4CF
split-complementary
#B23FCF #A4CF3F #3FCF6A
monochromatic
#641E76 #8E2AA7 #B23FCF #C670DB #D9A1E7
Accessibility & contrast
On white
4.66
#B23FCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#B23FCF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #B23FCF
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B23FCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B23FCF | 1.00 | 4.66 | 4.51 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#4878CC
Tritanopia (blue-blind)
#B25B83
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #b23fcf; /* rgb */ color: rgb(178, 63, 207); /* oklch */ color: oklch(58.8% 0.224 318.8);
Tailwind
colors: {
custom: {
50: '#cd7ede',
500: '#b23fcf',
950: '#000000',
},
}SCSS
$custom: #b23fcf; $custom-light: #cd7ede; $custom-dark: #000000;
JSON
{
"hex": "#b23fcf",
"rgb": {
"r": 178,
"g": 63,
"b": 207
},
"hsl": {
"h": 287.917,
"s": 60,
"l": 52.941
},
"oklch": {
"l": 0.58844,
"c": 0.22431,
"h": 318.8
},
"luminance": 0.17525
}Semantic roles & 50–950 ramp
primary
#B23FCF
secondary
#A2D496
accent
#E34565
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83