#B22DCD#B22DCD
#B22DCD is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 57.2% C 0.241 H 320.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #B22DCD |
|---|---|
| RGB | rgb(178, 45, 205) |
| HSL | hsl(290, 64%, 49%) |
| HSV | hsv(290, 78%, 80%) |
| CMYK | cmyk(13.2%, 78%, 0%, 19.6%) |
| CIE-LAB | lab(46.65, 71.60, -55.22) |
| CIE-LCH | lch(46.65, 90.42, 322.36°) |
| OKLab | oklab(57.19% 0.1851 -0.155) |
| OKLCH | oklch(57.19% 0.241 320) |
| XYZ | xyz(30.3166, 15.7511, 59.1892) |
| Luminance | 0.1575 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Vibrant Purple
#AD03DE
ΔE00 3.95
Barney
#AC1DB8
ΔE00 4.08
Darkorchid
#9932CC
ΔE00 4.58
Purply
#983FB2
ΔE00 5.38
Hot Purple
#CB00F5
ΔE00 6.07
Bright Purple
#BE03FD
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B22DCD #48CD2D
analogous
#622DCD #B22DCD #CD2D98
triadic
#B22DCD #CDB22D #2DCDB2
tetradic
#B22DCD #CD622D #48CD2D #2D98CD
square
#B22DCD #CD622D #48CD2D #2D98CD
split-complementary
#B22DCD #98CD2D #2DCD62
monochromatic
#5B1769 #86229B #B22DCD #C65CDB #D78EE6
Accessibility & contrast
On white
5.06
#B22DCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#B22DCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B22DCD
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B22DCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B22DCD | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#3D73CA
Tritanopia (blue-blind)
#B2507D
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #b22dcd; /* rgb */ color: rgb(178, 45, 205); /* oklch */ color: oklch(57.2% 0.241 320.0);
Tailwind
colors: {
custom: {
50: '#cd76dd',
500: '#b22dcd',
950: '#000000',
},
}SCSS
$custom: #b22dcd; $custom-light: #cd76dd; $custom-dark: #000000;
JSON
{
"hex": "#b22dcd",
"rgb": {
"r": 178,
"g": 45,
"b": 205
},
"hsl": {
"h": 289.875,
"s": 64,
"l": 49.02
},
"oklch": {
"l": 0.57191,
"c": 0.2414,
"h": 320
},
"luminance": 0.1575
}Semantic roles & 50–950 ramp
primary
#B22DCD
secondary
#92D185
accent
#E7415D
background
#FDF7FD
surface
#FAEEFB
border
#D3C9D4
text
#140A15
muted
#837C83