#784FDA#784FDA
#784FDA is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 54.8% C 0.202 H 292.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #784FDA |
|---|---|
| RGB | rgb(120, 79, 218) |
| HSL | hsl(258, 65%, 58%) |
| HSV | hsv(258, 64%, 85%) |
| CMYK | cmyk(45%, 63.8%, 0%, 14.5%) |
| CIE-LAB | lab(45.15, 48.89, -65.46) |
| CIE-LCH | lch(45.15, 81.70, 306.75°) |
| OKLab | oklab(54.82% 0.0755 -0.1872) |
| OKLCH | oklch(54.82% 0.202 292) |
| XYZ | xyz(23.1931, 14.6462, 67.9211) |
| Luminance | 0.1465 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.65
Light Indigo
#6D5ACF
ΔE00 3.85
Slate Blue
#6A5ACD
ΔE00 4.30
Bluish Purple
#703BE7
ΔE00 4.66
Purpleish Blue
#6140EF
ΔE00 5.23
Iris
#6258C4
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#784FDA #B1DA4F
analogous
#4F6BDA #784FDA #BD4FDA
triadic
#784FDA #DA784F #4FDA78
tetradic
#784FDA #DA4F6B #B1DA4F #4FDABD
square
#784FDA #DA4F6B #B1DA4F #4FDABD
split-complementary
#784FDA #DABD4F #6BDA4F
monochromatic
#401E90 #5629C3 #784FDA #9F82E5 #C6B4EF
Accessibility & contrast
On white
5.34
#784FDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#784FDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #784FDA
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##784FDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##784FDA | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DDE
Deuteranopia (green-blind)
#0068D7
Tritanopia (blue-blind)
#5B708D
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #784fda; /* rgb */ color: rgb(120, 79, 218); /* oklch */ color: oklch(54.8% 0.202 292.0);
Tailwind
colors: {
custom: {
50: '#a682e6',
500: '#784fda',
950: '#000000',
},
}SCSS
$custom: #784fda; $custom-light: #a682e6; $custom-dark: #000000;
JSON
{
"hex": "#784fda",
"rgb": {
"r": 120,
"g": 79,
"b": 218
},
"hsl": {
"h": 257.698,
"s": 65.258,
"l": 58.235
},
"oklch": {
"l": 0.54815,
"c": 0.20182,
"h": 292
},
"luminance": 0.14647
}Semantic roles & 50–950 ramp
primary
#784FDA
secondary
#CEDEA7
accent
#E840B6
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84