#C783FE#C783FE
#C783FE is a light, vivid violet. Relative luminance 0.355; OKLCH L 72.8% C 0.183 H 308.0°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #C783FE |
|---|---|
| RGB | rgb(199, 131, 254) |
| HSL | hsl(273, 98%, 75%) |
| HSV | hsv(273, 48%, 100%) |
| CMYK | cmyk(21.7%, 48.4%, 0%, 0.4%) |
| CIE-LAB | lab(66.16, 48.29, -51.44) |
| CIE-LCH | lch(66.16, 70.56, 313.19°) |
| OKLab | oklab(72.82% 0.1125 -0.1439) |
| OKLCH | oklch(72.82% 0.183 308) |
| XYZ | xyz(49.5554, 35.5311, 97.9943) |
| Luminance | 0.3553 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.76
Light Purple
#BF77F6
ΔE00 3.17
Easter Purple
#C071FE
ΔE00 4.31
Light Urple
#B36FF6
ΔE00 5.93
Baby Purple
#CA9BF7
ΔE00 6.31
Pastel Purple
#CAA0FF
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C783FE #BAFE83
analogous
#8983FE #C783FE #FE83F7
triadic
#C783FE #FEC783 #83FEC7
tetradic
#C783FE #FE8983 #BAFE83 #83F7FE
square
#C783FE #FE8983 #BAFE83 #83F7FE
split-complementary
#C783FE #F7FE83 #83FE89
monochromatic
#900AFD #AC46FE #C783FE #E2C0FE #F1E1FF
Accessibility & contrast
On white
2.59
#C783FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.11
#C783FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C783FE
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C783FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C783FE | 1.00 | 2.59 | 8.11 | 8.11 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#629EFF
Deuteranopia (green-blind)
#75A2FB
Tritanopia (blue-blind)
#BF98B5
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #c783fe; /* rgb */ color: rgb(199, 131, 254); /* oklch */ color: oklch(72.8% 0.183 308.0);
Tailwind
colors: {
custom: {
50: '#daa9ff',
500: '#c783fe',
950: '#000000',
},
}SCSS
$custom: #c783fe; $custom-light: #daa9ff; $custom-dark: #000000;
JSON
{
"hex": "#c783fe",
"rgb": {
"r": 199,
"g": 131,
"b": 254
},
"hsl": {
"h": 273.171,
"s": 98.4,
"l": 75.49
},
"oklch": {
"l": 0.72825,
"c": 0.18262,
"h": 308
},
"luminance": 0.3553
}Semantic roles & 50–950 ramp
primary
#C783FE
secondary
#E4F7D4
accent
#E60067
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86