#C782FA#C782FA
#C782FA is a light, vivid violet. Relative luminance 0.350; OKLCH L 72.5% C 0.180 H 309.1°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #C782FA |
|---|---|
| RGB | rgb(199, 130, 250) |
| HSL | hsl(275, 92%, 75%) |
| HSV | hsv(275, 48%, 98%) |
| CMYK | cmyk(20.4%, 48%, 0%, 2%) |
| CIE-LAB | lab(65.76, 47.94, -49.89) |
| CIE-LCH | lch(65.76, 69.19, 313.86°) |
| OKLab | oklab(72.46% 0.1134 -0.1393) |
| OKLCH | oklch(72.46% 0.18 309.1) |
| XYZ | xyz(48.7879, 35.0102, 94.6114) |
| Luminance | 0.3501 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.93
Liliac
#C48EFD
ΔE00 3.02
Easter Purple
#C071FE
ΔE00 4.25
Light Urple
#B36FF6
ΔE00 5.82
Baby Purple
#CA9BF7
ΔE00 6.36
Bright Lavender
#C760FF
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C782FA #B5FA82
analogous
#8B82FA #C782FA #FA82F1
triadic
#C782FA #FAC782 #82FAC7
tetradic
#C782FA #FA8B82 #B5FA82 #82F1FA
square
#C782FA #FA8B82 #B5FA82 #82F1FA
split-complementary
#C782FA #F1FA82 #82FA8B
monochromatic
#920CF5 #AD47F8 #C782FA #E1BDFC #F2E2FE
Accessibility & contrast
On white
2.62
#C782FA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.00
#C782FA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C782FA
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C782FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C782FA | 1.00 | 2.62 | 8.00 | 8.00 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#639DFE
Deuteranopia (green-blind)
#77A1F7
Tritanopia (blue-blind)
#C096B2
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #c782fa; /* rgb */ color: rgb(199, 130, 250); /* oklch */ color: oklch(72.5% 0.180 309.1);
Tailwind
colors: {
custom: {
50: '#daa8fc',
500: '#c782fa',
950: '#000000',
},
}SCSS
$custom: #c782fa; $custom-light: #daa8fc; $custom-dark: #000000;
JSON
{
"hex": "#c782fa",
"rgb": {
"r": 199,
"g": 130,
"b": 250
},
"hsl": {
"h": 274.5,
"s": 92.308,
"l": 74.51
},
"oklch": {
"l": 0.7246,
"c": 0.17964,
"h": 309.1
},
"luminance": 0.3501
}Semantic roles & 50–950 ramp
primary
#C782FA
secondary
#E3F6D5
accent
#E60062
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85