#C783FC#C783FC
#C783FC is a light, vivid violet. Relative luminance 0.354; OKLCH L 72.7% C 0.180 H 308.5°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #C783FC |
|---|---|
| RGB | rgb(199, 131, 252) |
| HSL | hsl(274, 95%, 75%) |
| HSV | hsv(274, 48%, 99%) |
| CMYK | cmyk(21%, 48%, 0%, 1.2%) |
| CIE-LAB | lab(66.06, 47.85, -50.50) |
| CIE-LCH | lch(66.06, 69.57, 313.45°) |
| OKLab | oklab(72.72% 0.1123 -0.1411) |
| OKLCH | oklch(72.72% 0.18 308.5) |
| XYZ | xyz(49.2368, 35.4036, 96.3164) |
| Luminance | 0.3540 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.76
Light Purple
#BF77F6
ΔE00 3.14
Easter Purple
#C071FE
ΔE00 4.38
Light Urple
#B36FF6
ΔE00 5.96
Baby Purple
#CA9BF7
ΔE00 6.21
Pastel Purple
#CAA0FF
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C783FC #B8FC83
analogous
#8A83FC #C783FC #FC83F5
triadic
#C783FC #FCC783 #83FCC7
tetradic
#C783FC #FC8A83 #B8FC83 #83F5FC
square
#C783FC #FC8A83 #B8FC83 #83F5FC
split-complementary
#C783FC #F5FC83 #83FC8A
monochromatic
#910BF9 #AC47FB #C783FC #E2BFFD #F2E1FE
Accessibility & contrast
On white
2.60
#C783FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.08
#C783FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C783FC
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C783FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C783FC | 1.00 | 2.60 | 8.08 | 8.08 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#649EFF
Deuteranopia (green-blind)
#77A1F9
Tritanopia (blue-blind)
#C097B4
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #c783fc; /* rgb */ color: rgb(199, 131, 252); /* oklch */ color: oklch(72.7% 0.180 308.5);
Tailwind
colors: {
custom: {
50: '#daa9fe',
500: '#c783fc',
950: '#000000',
},
}SCSS
$custom: #c783fc; $custom-light: #daa9fe; $custom-dark: #000000;
JSON
{
"hex": "#c783fc",
"rgb": {
"r": 199,
"g": 131,
"b": 252
},
"hsl": {
"h": 273.719,
"s": 95.276,
"l": 75.098
},
"oklch": {
"l": 0.72719,
"c": 0.18033,
"h": 308.5
},
"luminance": 0.35403
}Semantic roles & 50–950 ramp
primary
#C783FC
secondary
#E3F7D4
accent
#E60065
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86