#C286FB#C286FB
#C286FB is a light, vivid violet. Relative luminance 0.355; OKLCH L 72.6% C 0.173 H 306.2°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #C286FB |
|---|---|
| RGB | rgb(194, 134, 251) |
| HSL | hsl(271, 94%, 75%) |
| HSV | hsv(271, 47%, 98%) |
| CMYK | cmyk(22.7%, 46.6%, 0%, 1.6%) |
| CIE-LAB | lab(66.12, 44.69, -49.89) |
| CIE-LCH | lch(66.12, 66.98, 311.85°) |
| OKLab | oklab(72.63% 0.1022 -0.1395) |
| OKLCH | oklch(72.63% 0.173 306.2) |
| XYZ | xyz(48.1823, 35.4849, 95.5591) |
| Luminance | 0.3548 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 1.95
Light Purple
#BF77F6
ΔE00 3.60
Easter Purple
#C071FE
ΔE00 4.90
Baby Purple
#CA9BF7
ΔE00 5.67
Light Urple
#B36FF6
ΔE00 6.11
Pastel Purple
#CAA0FF
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C286FB #BFFB86
analogous
#8786FB #C286FB #FB86FA
triadic
#C286FB #FBC286 #86FBC2
tetradic
#C286FB #FB8786 #BFFB86 #86FAFB
square
#C286FB #FB8786 #BFFB86 #86FAFB
split-complementary
#C286FB #FAFB86 #86FB87
monochromatic
#8610F7 #A44BF9 #C286FB #E0C1FD #F0E1FE
Accessibility & contrast
On white
2.59
#C286FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.10
#C286FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C286FB
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C286FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C286FB | 1.00 | 2.59 | 8.10 | 8.10 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#679FFF
Deuteranopia (green-blind)
#77A1F8
Tritanopia (blue-blind)
#B99AB5
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #c286fb; /* rgb */ color: rgb(194, 134, 251); /* oklch */ color: oklch(72.6% 0.173 306.2);
Tailwind
colors: {
custom: {
50: '#d7aafd',
500: '#c286fb',
950: '#000000',
},
}SCSS
$custom: #c286fb; $custom-light: #d7aafd; $custom-dark: #000000;
JSON
{
"hex": "#c286fb",
"rgb": {
"r": 194,
"g": 134,
"b": 251
},
"hsl": {
"h": 270.769,
"s": 93.6,
"l": 75.49
},
"oklch": {
"l": 0.72632,
"c": 0.17293,
"h": 306.2
},
"luminance": 0.35485
}Semantic roles & 50–950 ramp
primary
#C286FB
secondary
#E5F6D5
accent
#E60070
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#151018
muted
#837F86