#B23FC2#B23FC2
#B23FC2 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.1% C 0.213 H 322.6°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #B23FC2 |
|---|---|
| RGB | rgb(178, 63, 194) |
| HSL | hsl(293, 52%, 50%) |
| HSV | hsv(293, 68%, 76%) |
| CMYK | cmyk(8.2%, 67.5%, 0%, 23.9%) |
| CIE-LAB | lab(48.15, 63.43, -46.44) |
| CIE-LCH | lch(48.15, 78.61, 323.79°) |
| OKLab | oklab(58.05% 0.1692 -0.1295) |
| OKLCH | oklch(58.05% 0.213 322.6) |
| XYZ | xyz(29.8742, 16.9167, 52.7202) |
| Luminance | 0.1691 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 5.04
Purply
#983FB2
ΔE00 5.26
Barney
#AC1DB8
ΔE00 5.33
Mediumorchid
#BA55D3
ΔE00 5.71
Medium Purple
#9E43A2
ΔE00 5.86
Ugly Purple
#A442A0
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B23FC2 #4FC23F
analogous
#703FC2 #B23FC2 #C23F90
triadic
#B23FC2 #C2B23F #3FC2B2
tetradic
#B23FC2 #C2703F #4FC23F #3F90C2
square
#B23FC2 #C2703F #4FC23F #3F90C2
split-complementary
#B23FC2 #90C23F #3FC270
monochromatic
#5E2066 #882F95 #B23FC2 #C56DD1 #D79CE0
Accessibility & contrast
On white
4.79
#B23FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#B23FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B23FC2
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B23FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B23FC2 | 1.00 | 4.79 | 4.38 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#196AC6
Deuteranopia (green-blind)
#5277BF
Tritanopia (blue-blind)
#B4557C
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #b23fc2; /* rgb */ color: rgb(178, 63, 194); /* oklch */ color: oklch(58.1% 0.213 322.6);
Tailwind
colors: {
custom: {
50: '#cd7dd5',
500: '#b23fc2',
950: '#000000',
},
}SCSS
$custom: #b23fc2; $custom-light: #cd7dd5; $custom-dark: #000000;
JSON
{
"hex": "#b23fc2",
"rgb": {
"r": 178,
"g": 63,
"b": 194
},
"hsl": {
"h": 292.672,
"s": 51.779,
"l": 50.392
},
"oklch": {
"l": 0.58054,
"c": 0.21305,
"h": 322.6
},
"luminance": 0.16915
}Semantic roles & 50–950 ramp
primary
#B23FC2
secondary
#98CC91
accent
#DB4D5E
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140A14
muted
#837C83