#C789FD#C789FD
#C789FD is a light, vivid violet. Relative luminance 0.371; OKLCH L 73.7% C 0.172 H 307.3°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).
Color values
| HEX | #C789FD |
|---|---|
| RGB | rgb(199, 137, 253) |
| HSL | hsl(272, 97%, 76%) |
| HSV | hsv(272, 46%, 99%) |
| CMYK | cmyk(21.3%, 45.8%, 0%, 0.8%) |
| CIE-LAB | lab(67.37, 44.87, -48.98) |
| CIE-LCH | lch(67.37, 66.43, 312.49°) |
| OKLab | oklab(73.71% 0.1044 -0.1367) |
| OKLCH | oklch(73.71% 0.172 307.3) |
| XYZ | xyz(50.2250, 37.1258, 97.4296) |
| Luminance | 0.3713 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 1.40
Light Purple
#BF77F6
ΔE00 4.44
Baby Purple
#CA9BF7
ΔE00 4.89
Easter Purple
#C071FE
ΔE00 5.70
Pastel Purple
#CAA0FF
ΔE00 5.73
Lilac (survey)
#CEA2FD
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C789FD #BFFD89
analogous
#8D89FD #C789FD #FD89F9
triadic
#C789FD #FDC789 #89FDC7
tetradic
#C789FD #FD8D89 #BFFD89 #89F9FD
square
#C789FD #FD8D89 #BFFD89 #89F9FD
split-complementary
#C789FD #F9FD89 #89FD8D
monochromatic
#8E11FB #AA4DFC #C789FD #E4C5FE #F1E1FE
Accessibility & contrast
On white
2.49
#C789FD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.42
#C789FD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C789FD
8.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C789FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C789FD | 1.00 | 2.49 | 8.42 | 8.42 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6CA2FF
Deuteranopia (green-blind)
#7CA5FA
Tritanopia (blue-blind)
#BF9CB7
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #c789fd; /* rgb */ color: rgb(199, 137, 253); /* oklch */ color: oklch(73.7% 0.172 307.3);
Tailwind
colors: {
custom: {
50: '#daadfe',
500: '#c789fd',
950: '#000000',
},
}SCSS
$custom: #c789fd; $custom-light: #daadfe; $custom-dark: #000000;
JSON
{
"hex": "#c789fd",
"rgb": {
"r": 199,
"g": 137,
"b": 253
},
"hsl": {
"h": 272.069,
"s": 96.667,
"l": 76.471
},
"oklch": {
"l": 0.73712,
"c": 0.17201,
"h": 307.3
},
"luminance": 0.37125
}Semantic roles & 50–950 ramp
primary
#C789FD
secondary
#E4F7D4
accent
#E6006B
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86