#C374EB#C374EB
#C374EB is a light, vivid violet. Relative luminance 0.301; OKLCH L 69.1% C 0.184 H 313.2°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #C374EB |
|---|---|
| RGB | rgb(195, 116, 235) |
| HSL | hsl(280, 75%, 69%) |
| HSV | hsv(280, 51%, 92%) |
| CMYK | cmyk(17%, 50.6%, 0%, 7.8%) |
| CIE-LAB | lab(61.73, 50.98, -48.00) |
| CIE-LCH | lch(61.73, 70.02, 316.72°) |
| OKLab | oklab(69.14% 0.1257 -0.1339) |
| OKLCH | oklch(69.14% 0.184 313.2) |
| XYZ | xyz(43.7439, 30.0921, 82.0852) |
| Luminance | 0.3009 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.23
Easter Purple
#C071FE
ΔE00 3.29
Light Urple
#B36FF6
ΔE00 4.23
Bright Lilac
#C95EFB
ΔE00 4.82
Bright Lavender
#C760FF
ΔE00 4.85
Liliac
#C48EFD
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C374EB #9CEB74
analogous
#8874EB #C374EB #EB74D8
triadic
#C374EB #EBC374 #74EBC3
tetradic
#C374EB #EB8874 #9CEB74 #74D8EB
square
#C374EB #EB8874 #9CEB74 #74D8EB
split-complementary
#C374EB #D8EB74 #74EB88
monochromatic
#8E1DC8 #AC3EE3 #C374EB #DAAAF3 #F1DFFA
Accessibility & contrast
On white
2.99
#C374EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.02
#C374EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C374EB
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C374EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C374EB | 1.00 | 2.99 | 7.02 | 7.02 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5891EF
Deuteranopia (green-blind)
#7097E8
Tritanopia (blue-blind)
#BF87A5
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #c374eb; /* rgb */ color: rgb(195, 116, 235); /* oklch */ color: oklch(69.1% 0.184 313.2);
Tailwind
colors: {
custom: {
50: '#d79ef2',
500: '#c374eb',
950: '#000000',
},
}SCSS
$custom: #c374eb; $custom-light: #d79ef2; $custom-dark: #000000;
JSON
{
"hex": "#c374eb",
"rgb": {
"r": 195,
"g": 116,
"b": 235
},
"hsl": {
"h": 279.832,
"s": 74.843,
"l": 68.824
},
"oklch": {
"l": 0.69137,
"c": 0.18364,
"h": 313.2
},
"luminance": 0.30091
}Semantic roles & 50–950 ramp
primary
#C374EB
secondary
#D8EFCC
accent
#D70F52
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F17
muted
#837E85