#784FC8#784FC8
#784FC8 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.5% C 0.180 H 295.2°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #784FC8 |
|---|---|
| RGB | rgb(120, 79, 200) |
| HSL | hsl(260, 52%, 55%) |
| HSV | hsv(260, 61%, 78%) |
| CMYK | cmyk(40%, 60.5%, 0%, 21.6%) |
| CIE-LAB | lab(43.88, 44.00, -57.17) |
| CIE-LCH | lch(43.88, 72.15, 307.58°) |
| OKLab | oklab(53.49% 0.0768 -0.1628) |
| OKLCH | oklch(53.49% 0.18 295.2) |
| XYZ | xyz(20.9643, 13.7547, 56.1828) |
| Luminance | 0.1376 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.13
Slate Blue
#6A5ACD
ΔE00 4.43
Iris
#6258C4
ΔE00 5.16
Bluey Purple
#6241C7
ΔE00 5.24
Purpley
#8756E4
ΔE00 5.26
Royal Purple
#7851A9
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#784FC8 #9FC84F
analogous
#4F62C8 #784FC8 #B54FC8
triadic
#784FC8 #C8784F #4FC878
tetradic
#784FC8 #C84F62 #9FC84F #4FC8B5
square
#784FC8 #C84F62 #9FC84F #4FC8B5
split-complementary
#784FC8 #C8B54F #62C84F
monochromatic
#412577 #5B34A6 #784FC8 #9C7ED7 #C0ACE5
Accessibility & contrast
On white
5.60
#784FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#784FC8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #784FC8
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##784FC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##784FC8 | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#0F66C5
Tritanopia (blue-blind)
#646A84
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #784fc8; /* rgb */ color: rgb(120, 79, 200); /* oklch */ color: oklch(53.5% 0.180 295.2);
Tailwind
colors: {
custom: {
50: '#a482d9',
500: '#784fc8',
950: '#000000',
},
}SCSS
$custom: #784fc8; $custom-light: #a482d9; $custom-dark: #000000;
JSON
{
"hex": "#784fc8",
"rgb": {
"r": 120,
"g": 79,
"b": 200
},
"hsl": {
"h": 260.331,
"s": 52.381,
"l": 54.706
},
"oklch": {
"l": 0.53494,
"c": 0.17999,
"h": 295.2
},
"luminance": 0.13755
}Semantic roles & 50–950 ramp
primary
#784FC8
secondary
#C2D3A0
accent
#DC4CAB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83