#C783F7#C783F7
#C783F7 is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.5% C 0.175 H 309.7°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #C783F7 |
|---|---|
| RGB | rgb(199, 131, 247) |
| HSL | hsl(275, 88%, 74%) |
| HSV | hsv(275, 47%, 97%) |
| CMYK | cmyk(19.4%, 47%, 0%, 3.1%) |
| CIE-LAB | lab(65.82, 46.76, -48.15) |
| CIE-LCH | lch(65.82, 67.11, 314.16°) |
| OKLab | oklab(72.46% 0.1117 -0.1343) |
| OKLCH | oklch(72.46% 0.175 309.7) |
| XYZ | xyz(48.4549, 35.0909, 92.1983) |
| Luminance | 0.3509 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.92
Light Purple
#BF77F6
ΔE00 3.21
Easter Purple
#C071FE
ΔE00 4.64
Baby Purple
#CA9BF7
ΔE00 6.03
Light Urple
#B36FF6
ΔE00 6.12
Pastel Purple
#CAA0FF
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C783F7 #B3F783
analogous
#8D83F7 #C783F7 #F783ED
triadic
#C783F7 #F7C783 #83F7C7
tetradic
#C783F7 #F78D83 #B3F783 #83EDF7
square
#C783F7 #F78D83 #B3F783 #83EDF7
split-complementary
#C783F7 #EDF783 #83F78D
monochromatic
#9310F0 #AD4AF3 #C783F7 #E1BCFB #F2E2FD
Accessibility & contrast
On white
2.62
#C783F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.02
#C783F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C783F7
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C783F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C783F7 | 1.00 | 2.62 | 8.02 | 8.02 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#679DFB
Deuteranopia (green-blind)
#7AA1F4
Tritanopia (blue-blind)
#C196B1
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #c783f7; /* rgb */ color: rgb(199, 131, 247); /* oklch */ color: oklch(72.5% 0.175 309.7);
Tailwind
colors: {
custom: {
50: '#daa8fa',
500: '#c783f7',
950: '#000000',
},
}SCSS
$custom: #c783f7; $custom-light: #daa8fa; $custom-dark: #000000;
JSON
{
"hex": "#c783f7",
"rgb": {
"r": 199,
"g": 131,
"b": 247
},
"hsl": {
"h": 275.172,
"s": 87.879,
"l": 74.118
},
"oklch": {
"l": 0.7246,
"c": 0.17464,
"h": 309.7
},
"luminance": 0.3509
}Semantic roles & 50–950 ramp
primary
#C783F7
secondary
#E3F5D6
accent
#E4015F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85