#785CDD#785CDD
#785CDD is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.0% C 0.188 H 289.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #785CDD |
|---|---|
| RGB | rgb(120, 92, 221) |
| HSL | hsl(253, 65%, 61%) |
| HSV | hsv(253, 58%, 87%) |
| CMYK | cmyk(45.7%, 58.4%, 0%, 13.3%) |
| CIE-LAB | lab(48.09, 42.47, -62.40) |
| CIE-LCH | lch(48.09, 75.48, 304.24°) |
| OKLab | oklab(57.03% 0.0613 -0.1781) |
| OKLCH | oklch(57.03% 0.188 289) |
| XYZ | xyz(24.6203, 16.8669, 70.3510) |
| Luminance | 0.1687 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.85
Purpley
#8756E4
ΔE00 3.13
Slate Blue
#6A5ACD
ΔE00 3.42
Dark Periwinkle
#665FD1
ΔE00 3.85
Mediumslateblue
#7B68EE
ΔE00 4.49
Iris
#6258C4
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#785CDD #C1DD5C
analogous
#5C81DD #785CDD #B95CDD
triadic
#785CDD #DD785C #5CDD78
tetradic
#785CDD #DD5C81 #C1DD5C #5CDDB9
square
#785CDD #DD5C81 #C1DD5C #5CDDB9
split-complementary
#785CDD #DDB95C #81DD5C
monochromatic
#3C219E #4F2BD0 #785CDD #A28FE8 #CCC1F2
Accessibility & contrast
On white
4.80
#785CDD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#785CDD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #785CDD
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##785CDD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##785CDD | 1.00 | 4.80 | 4.37 | 4.80 |
| #FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E1
Deuteranopia (green-blind)
#006FDA
Tritanopia (blue-blind)
#587994
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #785cdd; /* rgb */ color: rgb(120, 92, 221); /* oklch */ color: oklch(57.0% 0.188 289.0);
Tailwind
colors: {
custom: {
50: '#a68be8',
500: '#785cdd',
950: '#000000',
},
}SCSS
$custom: #785cdd; $custom-light: #a68be8; $custom-dark: #000000;
JSON
{
"hex": "#785cdd",
"rgb": {
"r": 120,
"g": 92,
"b": 221
},
"hsl": {
"h": 253.023,
"s": 65.482,
"l": 61.373
},
"oklch": {
"l": 0.57029,
"c": 0.18841,
"h": 289
},
"luminance": 0.16868
}Semantic roles & 50–950 ramp
primary
#785CDD
secondary
#D8E3B2
accent
#CD18A6
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84