#785FDC#785FDC
#785FDC is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.4% C 0.183 H 288.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #785FDC |
|---|---|
| RGB | rgb(120, 95, 220) |
| HSL | hsl(252, 64%, 62%) |
| HSV | hsv(252, 57%, 86%) |
| CMYK | cmyk(45.5%, 56.8%, 0%, 13.7%) |
| CIE-LAB | lab(48.69, 40.46, -60.86) |
| CIE-LCH | lch(48.69, 73.09, 303.61°) |
| OKLab | oklab(57.45% 0.058 -0.1736) |
| OKLCH | oklch(57.45% 0.183 288.5) |
| XYZ | xyz(24.7525, 17.3438, 69.7398) |
| Luminance | 0.1734 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.08
Slate Blue
#6A5ACD
ΔE00 3.60
Purpley
#8756E4
ΔE00 3.65
Dark Periwinkle
#665FD1
ΔE00 3.65
Mediumslateblue
#7B68EE
ΔE00 3.89
Iris
#6258C4
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#785FDC #C3DC5F
analogous
#5F85DC #785FDC #B75FDC
triadic
#785FDC #DC785F #5FDC78
tetradic
#785FDC #DC5F85 #C3DC5F #5FDCB7
square
#785FDC #DC5F85 #C3DC5F #5FDCB7
split-complementary
#785FDC #DCB75F #85DC5F
monochromatic
#3B239E #4E2ED0 #785FDC #A291E7 #CDC3F2
Accessibility & contrast
On white
4.70
#785FDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#785FDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #785FDC
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##785FDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##785FDC | 1.00 | 4.70 | 4.47 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0876E0
Deuteranopia (green-blind)
#0E70D9
Tritanopia (blue-blind)
#597B94
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #785fdc; /* rgb */ color: rgb(120, 95, 220); /* oklch */ color: oklch(57.4% 0.183 288.5);
Tailwind
colors: {
custom: {
50: '#a58de8',
500: '#785fdc',
950: '#000000',
},
}SCSS
$custom: #785fdc; $custom-light: #a58de8; $custom-dark: #000000;
JSON
{
"hex": "#785fdc",
"rgb": {
"r": 120,
"g": 95,
"b": 220
},
"hsl": {
"h": 252,
"s": 64.103,
"l": 61.765
},
"oklch": {
"l": 0.57449,
"c": 0.18306,
"h": 288.5
},
"luminance": 0.17345
}Semantic roles & 50–950 ramp
primary
#785FDC
secondary
#D9E3B4
accent
#CC1AA8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84