#C674F5#C674F5
#C674F5 is a light, vivid violet. Relative luminance 0.311; OKLCH L 70.0% C 0.196 H 311.7°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #C674F5 |
|---|---|
| RGB | rgb(198, 116, 245) |
| HSL | hsl(278, 87%, 71%) |
| HSV | hsv(278, 53%, 96%) |
| CMYK | cmyk(19.2%, 52.7%, 0%, 3.9%) |
| CIE-LAB | lab(62.58, 53.88, -52.17) |
| CIE-LCH | lch(62.58, 75.00, 315.92°) |
| OKLab | oklab(70% 0.1301 -0.146) |
| OKLCH | oklch(70% 0.196 311.7) |
| XYZ | xyz(46.0126, 31.0901, 89.9456) |
| Luminance | 0.3109 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.47
Easter Purple
#C071FE
ΔE00 2.17
Light Urple
#B36FF6
ΔE00 3.88
Bright Lavender
#C760FF
ΔE00 4.19
Bright Lilac
#C95EFB
ΔE00 4.34
Liliac
#C48EFD
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C674F5 #A3F574
analogous
#8574F5 #C674F5 #F574E3
triadic
#C674F5 #F5C674 #74F5C6
tetradic
#C674F5 #F58574 #A3F574 #74E3F5
square
#C674F5 #F58574 #A3F574 #74E3F5
split-complementary
#C674F5 #E3F574 #74F585
monochromatic
#9310DF #AF3BF1 #C674F5 #DDADF9 #F3E2FD
Accessibility & contrast
On white
2.91
#C674F5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.22
#C674F5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C674F5
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C674F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C674F5 | 1.00 | 2.91 | 7.22 | 7.22 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5193F9
Deuteranopia (green-blind)
#6C99F2
Tritanopia (blue-blind)
#C18AAA
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #c674f5; /* rgb */ color: rgb(198, 116, 245); /* oklch */ color: oklch(70.0% 0.196 311.7);
Tailwind
colors: {
custom: {
50: '#da9ff9',
500: '#c674f5',
950: '#000000',
},
}SCSS
$custom: #c674f5; $custom-light: #da9ff9; $custom-dark: #000000;
JSON
{
"hex": "#c674f5",
"rgb": {
"r": 198,
"g": 116,
"b": 245
},
"hsl": {
"h": 278.14,
"s": 86.577,
"l": 70.784
},
"oklch": {
"l": 0.70004,
"c": 0.19554,
"h": 311.7
},
"luminance": 0.31089
}Semantic roles & 50–950 ramp
primary
#C674F5
secondary
#DEF4D1
accent
#E30254
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85