#C331E2#C331E2
#C331E2 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 61.2% C 0.261 H 319.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #C331E2 |
|---|---|
| RGB | rgb(195, 49, 226) |
| HSL | hsl(289, 75%, 54%) |
| HSV | hsv(289, 78%, 89%) |
| CMYK | cmyk(13.7%, 78.3%, 0%, 11.4%) |
| CIE-LAB | lab(51.03, 77.26, -60.04) |
| CIE-LCH | lch(51.03, 97.84, 322.15°) |
| OKLab | oklab(61.23% 0.1988 -0.1686) |
| OKLCH | oklch(61.23% 0.261 319.7) |
| XYZ | xyz(37.3297, 19.2916, 73.6941) |
| Luminance | 0.1929 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Hot Purple
#CB00F5
ΔE00 2.81
Purple Pink
#D725DE
ΔE00 3.56
Bright Purple
#BE03FD
ΔE00 4.44
Neon Purple
#BC13FE
ΔE00 4.49
Mediumorchid
#BA55D3
ΔE00 5.21
Lightish Purple
#A552E6
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C331E2 #50E231
analogous
#6B31E2 #C331E2 #E231A8
triadic
#C331E2 #E2C331 #31E2C3
tetradic
#C331E2 #E26B31 #50E231 #31A8E2
square
#C331E2 #E26B31 #50E231 #31A8E2
split-complementary
#C331E2 #A8E231 #31E26B
monochromatic
#721386 #9F1ABB #C331E2 #D367EA #E29CF1
Accessibility & contrast
On white
4.32
#C331E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#C331E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C331E2
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C331E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C331E2 | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E7
Deuteranopia (green-blind)
#417EDE
Tritanopia (blue-blind)
#C3588A
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #c331e2; /* rgb */ color: rgb(195, 49, 226); /* oklch */ color: oklch(61.2% 0.261 319.7);
Tailwind
colors: {
custom: {
50: '#da7aec',
500: '#c331e2',
950: '#000000',
},
}SCSS
$custom: #c331e2; $custom-light: #da7aec; $custom-dark: #000000;
JSON
{
"hex": "#c331e2",
"rgb": {
"r": 195,
"g": 49,
"b": 226
},
"hsl": {
"h": 289.492,
"s": 75.319,
"l": 53.922
},
"oklch": {
"l": 0.61227,
"c": 0.26067,
"h": 319.7
},
"luminance": 0.1929
}Semantic roles & 50–950 ramp
primary
#C331E2
secondary
#9FDD92
accent
#F23657
background
#FDF8FE
surface
#FBEFFD
border
#D4CAD5
text
#150B16
muted
#837C84