#C674F8#C674F8
#C674F8 is a light, vivid violet. Relative luminance 0.313; OKLCH L 70.2% C 0.199 H 311.0°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #C674F8 |
|---|---|
| RGB | rgb(198, 116, 248) |
| HSL | hsl(277, 90%, 71%) |
| HSV | hsv(277, 53%, 97%) |
| CMYK | cmyk(20.2%, 53.2%, 0%, 2.7%) |
| CIE-LAB | lab(62.74, 54.52, -53.58) |
| CIE-LCH | lch(62.74, 76.44, 315.50°) |
| OKLab | oklab(70.17% 0.1303 -0.1501) |
| OKLCH | oklch(70.17% 0.199 311) |
| XYZ | xyz(46.4743, 31.2748, 92.3772) |
| Luminance | 0.3127 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.34
Easter Purple
#C071FE
ΔE00 1.81
Light Urple
#B36FF6
ΔE00 3.73
Bright Lavender
#C760FF
ΔE00 4.05
Bright Lilac
#C95EFB
ΔE00 4.29
Liliac
#C48EFD
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C674F8 #A6F874
analogous
#8474F8 #C674F8 #F874E8
triadic
#C674F8 #F8C674 #74F8C6
tetradic
#C674F8 #F88474 #A6F874 #74E8F8
square
#C674F8 #F88474 #A6F874 #74E8F8
split-complementary
#C674F8 #E8F874 #74F884
monochromatic
#930CE6 #AE3AF5 #C674F8 #DEAEFB #F3E2FE
Accessibility & contrast
On white
2.89
#C674F8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.25
#C674F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C674F8
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C674F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C674F8 | 1.00 | 2.89 | 7.25 | 7.25 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F94FC
Deuteranopia (green-blind)
#6A99F5
Tritanopia (blue-blind)
#C08BAB
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #c674f8; /* rgb */ color: rgb(198, 116, 248); /* oklch */ color: oklch(70.2% 0.199 311.0);
Tailwind
colors: {
custom: {
50: '#da9ffb',
500: '#c674f8',
950: '#000000',
},
}SCSS
$custom: #c674f8; $custom-light: #da9ffb; $custom-dark: #000000;
JSON
{
"hex": "#c674f8",
"rgb": {
"r": 198,
"g": 116,
"b": 248
},
"hsl": {
"h": 277.273,
"s": 90.411,
"l": 71.373
},
"oklch": {
"l": 0.70169,
"c": 0.19877,
"h": 311
},
"luminance": 0.31274
}Semantic roles & 50–950 ramp
primary
#C674F8
secondary
#E0F5D3
accent
#E60057
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85