#785FCF#785FCF
#785FCF is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.6% C 0.166 H 290.4°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #785FCF |
|---|---|
| RGB | rgb(120, 95, 207) |
| HSL | hsl(253, 54%, 59%) |
| HSV | hsv(253, 54%, 81%) |
| CMYK | cmyk(42%, 54.1%, 0%, 18.8%) |
| CIE-LAB | lab(47.86, 36.77, -54.80) |
| CIE-LCH | lch(47.86, 65.99, 303.86°) |
| OKLab | oklab(56.57% 0.0578 -0.1558) |
| OKLCH | oklch(56.57% 0.166 290.4) |
| XYZ | xyz(23.0973, 16.6817, 61.0223) |
| Luminance | 0.1668 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.51
Slate Blue
#6A5ACD
ΔE00 2.98
Dark Periwinkle
#665FD1
ΔE00 3.53
Purpley
#8756E4
ΔE00 4.48
Iris
#6258C4
ΔE00 4.72
Mediumslateblue
#7B68EE
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#785FCF #B6CF5F
analogous
#5F7ECF #785FCF #B05FCF
triadic
#785FCF #CF785F #5FCF78
tetradic
#785FCF #CF5F7E #B6CF5F #5FCFB0
square
#785FCF #CF5F7E #B6CF5F #5FCFB0
split-complementary
#785FCF #CFB05F #7ECF5F
monochromatic
#3F298A #5538B9 #785FCF #A08EDD #C7BDEB
Accessibility & contrast
On white
4.84
#785FCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#785FCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #785FCF
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##785FCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##785FCF | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2874D3
Deuteranopia (green-blind)
#2C6FCD
Tritanopia (blue-blind)
#5F778E
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #785fcf; /* rgb */ color: rgb(120, 95, 207); /* oklch */ color: oklch(56.6% 0.166 290.4);
Tailwind
colors: {
custom: {
50: '#a48dde',
500: '#785fcf',
950: '#000000',
},
}SCSS
$custom: #785fcf; $custom-light: #a48dde; $custom-dark: #000000;
JSON
{
"hex": "#785fcf",
"rgb": {
"r": 120,
"g": 95,
"b": 207
},
"hsl": {
"h": 253.393,
"s": 53.846,
"l": 59.216
},
"oklch": {
"l": 0.56565,
"c": 0.16617,
"h": 290.4
},
"luminance": 0.16682
}Semantic roles & 50–950 ramp
primary
#785FCF
secondary
#D1DBAF
accent
#DD4BBC
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83