#785CDC#785CDC
#785CDC is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.0% C 0.187 H 289.1°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #785CDC |
|---|---|
| RGB | rgb(120, 92, 220) |
| HSL | hsl(253, 65%, 61%) |
| HSV | hsv(253, 58%, 86%) |
| CMYK | cmyk(45.5%, 58.2%, 0%, 13.7%) |
| CIE-LAB | lab(48.02, 42.19, -61.94) |
| CIE-LCH | lch(48.02, 74.94, 304.26°) |
| OKLab | oklab(56.96% 0.0614 -0.1768) |
| OKLCH | oklch(56.96% 0.187 289.1) |
| XYZ | xyz(24.4875, 16.8137, 69.6514) |
| Luminance | 0.1681 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.76
Purpley
#8756E4
ΔE00 3.17
Slate Blue
#6A5ACD
ΔE00 3.34
Dark Periwinkle
#665FD1
ΔE00 3.80
Mediumslateblue
#7B68EE
ΔE00 4.59
Iris
#6258C4
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#785CDC #C0DC5C
analogous
#5C80DC #785CDC #B85CDC
triadic
#785CDC #DC785C #5CDC78
tetradic
#785CDC #DC5C80 #C0DC5C #5CDCB8
square
#785CDC #DC5C80 #C0DC5C #5CDCB8
split-complementary
#785CDC #DCB85C #80DC5C
monochromatic
#3C229C #502CCE #785CDC #A28EE7 #CBC1F2
Accessibility & contrast
On white
4.81
#785CDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#785CDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #785CDC
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##785CDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##785CDC | 1.00 | 4.81 | 4.36 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#006FD9
Tritanopia (blue-blind)
#597993
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #785cdc; /* rgb */ color: rgb(120, 92, 220); /* oklch */ color: oklch(57.0% 0.187 289.1);
Tailwind
colors: {
custom: {
50: '#a68be8',
500: '#785cdc',
950: '#000000',
},
}SCSS
$custom: #785cdc; $custom-light: #a68be8; $custom-dark: #000000;
JSON
{
"hex": "#785cdc",
"rgb": {
"r": 120,
"g": 92,
"b": 220
},
"hsl": {
"h": 253.125,
"s": 64.646,
"l": 61.176
},
"oklch": {
"l": 0.56959,
"c": 0.18714,
"h": 289.1
},
"luminance": 0.16815
}Semantic roles & 50–950 ramp
primary
#785CDC
secondary
#D7E2B2
accent
#CC19A5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84