#785BCF#785BCF
#785BCF is a mid, vivid violet. Relative luminance 0.160; OKLCH L 55.9% C 0.172 H 291.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #785BCF |
|---|---|
| RGB | rgb(120, 91, 207) |
| HSL | hsl(255, 55%, 58%) |
| HSV | hsv(255, 56%, 81%) |
| CMYK | cmyk(42%, 56%, 0%, 18.8%) |
| CIE-LAB | lab(46.95, 39.10, -56.26) |
| CIE-LCH | lch(46.95, 68.51, 304.80°) |
| OKLab | oklab(55.89% 0.0626 -0.1601) |
| OKLCH | oklch(55.89% 0.172 291.3) |
| XYZ | xyz(22.7462, 15.9795, 60.9053) |
| Luminance | 0.1598 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.12
Slate Blue
#6A5ACD
ΔE00 2.68
Dark Periwinkle
#665FD1
ΔE00 3.84
Purpley
#8756E4
ΔE00 4.02
Iris
#6258C4
ΔE00 4.42
Mediumslateblue
#7B68EE
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#785BCF #B2CF5B
analogous
#5B78CF #785BCF #B25BCF
triadic
#785BCF #CF785B #5BCF78
tetradic
#785BCF #CF5B78 #B2CF5B #5BCFB2
square
#785BCF #CF5B78 #B2CF5B #5BCFB2
split-complementary
#785BCF #CFB25B #78CF5B
monochromatic
#402888 #5636B7 #785BCF #9F8ADD #C6BAEB
Accessibility & contrast
On white
5.00
#785BCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#785BCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #785BCF
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##785BCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##785BCF | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B71D3
Deuteranopia (green-blind)
#236DCC
Tritanopia (blue-blind)
#60748C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #785bcf; /* rgb */ color: rgb(120, 91, 207); /* oklch */ color: oklch(55.9% 0.172 291.3);
Tailwind
colors: {
custom: {
50: '#a48ade',
500: '#785bcf',
950: '#000000',
},
}SCSS
$custom: #785bcf; $custom-light: #a48ade; $custom-dark: #000000;
JSON
{
"hex": "#785bcf",
"rgb": {
"r": 120,
"g": 91,
"b": 207
},
"hsl": {
"h": 255,
"s": 54.717,
"l": 58.431
},
"oklch": {
"l": 0.55893,
"c": 0.17189,
"h": 291.3
},
"luminance": 0.1598
}Semantic roles & 50–950 ramp
primary
#785BCF
secondary
#CEDAAC
accent
#DE4AB9
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83