#C670F2#C670F2
#C670F2 is a light, vivid violet. Relative luminance 0.300; OKLCH L 69.3% C 0.198 H 312.9°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).
Color values
| HEX | #C670F2 |
|---|---|
| RGB | rgb(198, 112, 242) |
| HSL | hsl(280, 83%, 69%) |
| HSV | hsv(280, 54%, 95%) |
| CMYK | cmyk(18.2%, 53.7%, 0%, 5.1%) |
| CIE-LAB | lab(61.66, 55.27, -51.98) |
| CIE-LCH | lch(61.66, 75.87, 316.76°) |
| OKLab | oklab(69.27% 0.1351 -0.1454) |
| OKLCH | oklch(69.27% 0.198 312.9) |
| XYZ | xyz(45.1071, 30.0060, 87.4028) |
| Luminance | 0.3000 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.14
Easter Purple
#C071FE
ΔE00 2.42
Bright Lavender
#C760FF
ΔE00 3.60
Bright Lilac
#C95EFB
ΔE00 3.62
Light Urple
#B36FF6
ΔE00 3.82
Heliotrope
#D94FF5
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C670F2 #9CF270
analogous
#8570F2 #C670F2 #F270DD
triadic
#C670F2 #F2C670 #70F2C6
tetradic
#C670F2 #F28570 #9CF270 #70DDF2
square
#C670F2 #F28570 #9CF270 #70DDF2
split-complementary
#C670F2 #DDF270 #70F285
monochromatic
#9313D4 #B038ED #C670F2 #DCA8F7 #F3E0FC
Accessibility & contrast
On white
3.00
#C670F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
7.00
#C670F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C670F2
7.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C670F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C670F2 | 1.00 | 3.00 | 7.00 | 7.00 |
| #FFFFFF | 3.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D90F6
Deuteranopia (green-blind)
#6A97EF
Tritanopia (blue-blind)
#C286A7
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #c670f2; /* rgb */ color: rgb(198, 112, 242); /* oklch */ color: oklch(69.3% 0.198 312.9);
Tailwind
colors: {
custom: {
50: '#da9cf7',
500: '#c670f2',
950: '#000000',
},
}SCSS
$custom: #c670f2; $custom-light: #da9cf7; $custom-dark: #000000;
JSON
{
"hex": "#c670f2",
"rgb": {
"r": 198,
"g": 112,
"b": 242
},
"hsl": {
"h": 279.692,
"s": 83.333,
"l": 69.412
},
"oklch": {
"l": 0.69273,
"c": 0.19845,
"h": 312.9
},
"luminance": 0.30005
}Semantic roles & 50–950 ramp
primary
#C670F2
secondary
#D9F2CC
accent
#E00650
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150E17
muted
#837E85