#C07AFE#C07AFE
#C07AFE is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.7% C 0.194 H 306.6°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #C07AFE |
|---|---|
| RGB | rgb(192, 122, 254) |
| HSL | hsl(272, 99%, 74%) |
| HSV | hsv(272, 52%, 100%) |
| CMYK | cmyk(24.4%, 52%, 0%, 0.4%) |
| CIE-LAB | lab(63.58, 51.22, -55.59) |
| CIE-LCH | lch(63.58, 75.59, 312.66°) |
| OKLab | oklab(70.74% 0.1158 -0.1561) |
| OKLCH | oklch(70.74% 0.194 306.6) |
| XYZ | xyz(46.5835, 32.2817, 97.5236) |
| Luminance | 0.3228 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.35
Easter Purple
#C071FE
ΔE00 2.00
Light Urple
#B36FF6
ΔE00 3.55
Liliac
#C48EFD
ΔE00 4.85
Bright Lavender
#C760FF
ΔE00 5.28
Bright Lilac
#C95EFB
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C07AFE #B8FE7A
analogous
#7E7AFE #C07AFE #FE7AFA
triadic
#C07AFE #FEC07A #7AFEC0
tetradic
#C07AFE #FE7E7A #B8FE7A #7AFAFE
square
#C07AFE #FE7E7A #B8FE7A #7AFAFE
split-complementary
#C07AFE #FAFE7A #7AFE7E
monochromatic
#8602FC #A33DFE #C07AFE #DDB7FE #F1E1FF
Accessibility & contrast
On white
2.82
#C07AFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.46
#C07AFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C07AFE
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C07AFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C07AFE | 1.00 | 2.82 | 7.46 | 7.46 |
| #FFFFFF | 2.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5197FF
Deuteranopia (green-blind)
#679BFB
Tritanopia (blue-blind)
#B692B1
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #c07afe; /* rgb */ color: rgb(192, 122, 254); /* oklch */ color: oklch(70.7% 0.194 306.6);
Tailwind
colors: {
custom: {
50: '#d6a2ff',
500: '#c07afe',
950: '#000000',
},
}SCSS
$custom: #c07afe; $custom-light: #d6a2ff; $custom-dark: #000000;
JSON
{
"hex": "#c07afe",
"rgb": {
"r": 192,
"g": 122,
"b": 254
},
"hsl": {
"h": 271.818,
"s": 98.507,
"l": 73.725
},
"oklch": {
"l": 0.7074,
"c": 0.1944,
"h": 306.6
},
"luminance": 0.32281
}Semantic roles & 50–950 ramp
primary
#C07AFE
secondary
#E4F7D4
accent
#E6006C
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86