#B233B2#B233B2
#B233B2 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.0% C 0.214 H 328.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #B233B2 |
|---|---|
| RGB | rgb(178, 51, 178) |
| HSL | hsl(300, 55%, 45%) |
| HSV | hsv(300, 71%, 70%) |
| CMYK | cmyk(0%, 71.3%, 0%, 30.2%) |
| CIE-LAB | lab(45.70, 65.07, -40.99) |
| CIE-LCH | lch(45.70, 76.90, 327.79°) |
| OKLab | oklab(56% 0.1815 -0.1135) |
| OKLCH | oklch(56% 0.214 328) |
| XYZ | xyz(27.5795, 15.0490, 43.5630) |
| Luminance | 0.1505 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 3.57
Ugly Purple
#A442A0
ΔE00 3.86
Medium Purple
#9E43A2
ΔE00 4.16
Purply
#983FB2
ΔE00 4.92
Purpley Pink
#C83CB9
ΔE00 5.36
Darkorchid
#9932CC
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B233B2 #33B233
analogous
#7333B2 #B233B2 #B23373
triadic
#B233B2 #B2B233 #33B2B2
tetradic
#B233B2 #B27333 #33B233 #3373B2
square
#B233B2 #B27333 #33B233 #3373B2
split-complementary
#B233B2 #73B233 #33B273
monochromatic
#531853 #822582 #B233B2 #CE54CE #DC84DC
Accessibility & contrast
On white
5.24
#B233B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#B233B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B233B2
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B233B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B233B2 | 1.00 | 5.24 | 4.01 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C62B6
Deuteranopia (green-blind)
#5572AF
Tritanopia (blue-blind)
#B8466F
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #b233b2; /* rgb */ color: rgb(178, 51, 178); /* oklch */ color: oklch(56.0% 0.214 328.0);
Tailwind
colors: {
custom: {
50: '#cd77c9',
500: '#b233b2',
950: '#000000',
},
}SCSS
$custom: #b233b2; $custom-light: #cd77c9; $custom-dark: #000000;
JSON
{
"hex": "#b233b2",
"rgb": {
"r": 178,
"g": 51,
"b": 178
},
"hsl": {
"h": 300,
"s": 55.459,
"l": 44.902
},
"oklch": {
"l": 0.56004,
"c": 0.21408,
"h": 328
},
"luminance": 0.15047
}Semantic roles & 50–950 ramp
primary
#B233B2
secondary
#7CC57C
accent
#DF4949
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140A13
muted
#837C82