#C07FEF#C07FEF
#C07FEF is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.7% C 0.169 H 309.5°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #C07FEF |
|---|---|
| RGB | rgb(192, 127, 239) |
| HSL | hsl(275, 78%, 72%) |
| HSV | hsv(275, 47%, 94%) |
| CMYK | cmyk(19.7%, 46.9%, 0%, 6.3%) |
| CIE-LAB | lab(63.85, 45.24, -46.90) |
| CIE-LCH | lch(63.85, 65.16, 313.97°) |
| OKLab | oklab(70.7% 0.1077 -0.1308) |
| OKLCH | oklch(70.7% 0.169 309.5) |
| XYZ | xyz(44.9047, 32.6179, 85.5749) |
| Luminance | 0.3262 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.34
Liliac
#C48EFD
ΔE00 4.02
Easter Purple
#C071FE
ΔE00 4.06
Light Urple
#B36FF6
ΔE00 5.02
Bright Lavender
#C760FF
ΔE00 6.84
Baby Purple
#CA9BF7
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C07FEF #AEEF7F
analogous
#887FEF #C07FEF #EF7FE6
triadic
#C07FEF #EFC07F #7FEFC0
tetradic
#C07FEF #EF887F #AEEF7F #7FE6EF
square
#C07FEF #EF887F #AEEF7F #7FE6EF
split-complementary
#C07FEF #E6EF7F #7FEF88
monochromatic
#891BD9 #A549E8 #C07FEF #DBB5F6 #F2E4FC
Accessibility & contrast
On white
2.79
#C07FEF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.52
#C07FEF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C07FEF
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C07FEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C07FEF | 1.00 | 2.79 | 7.52 | 7.52 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6498F3
Deuteranopia (green-blind)
#759CEC
Tritanopia (blue-blind)
#BA91AC
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #c07fef; /* rgb */ color: rgb(192, 127, 239); /* oklch */ color: oklch(70.7% 0.169 309.5);
Tailwind
colors: {
custom: {
50: '#d5a5f5',
500: '#c07fef',
950: '#000000',
},
}SCSS
$custom: #c07fef; $custom-light: #d5a5f5; $custom-dark: #000000;
JSON
{
"hex": "#c07fef",
"rgb": {
"r": 192,
"g": 127,
"b": 239
},
"hsl": {
"h": 274.821,
"s": 77.778,
"l": 71.765
},
"oklch": {
"l": 0.70699,
"c": 0.16947,
"h": 309.5
},
"luminance": 0.32617
}Semantic roles & 50–950 ramp
primary
#C07FEF
secondary
#E3F3D7
accent
#DA0B62
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85