#784FB3#784FB3
#784FB3 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.1% C 0.154 H 300.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #784FB3 |
|---|---|
| RGB | rgb(120, 79, 179) |
| HSL | hsl(265, 40%, 51%) |
| HSV | hsv(265, 56%, 70%) |
| CMYK | cmyk(33%, 55.9%, 0%, 29.8%) |
| CIE-LAB | lab(42.52, 38.44, -47.12) |
| CIE-LCH | lch(42.52, 60.81, 309.21°) |
| OKLab | oklab(52.06% 0.077 -0.1332) |
| OKLCH | oklch(52.06% 0.154 300) |
| XYZ | xyz(18.6764, 12.8396, 44.1334) |
| Luminance | 0.1284 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.01
Deep Lavender
#8D5EB7
ΔE00 6.27
Light Indigo
#6D5ACF
ΔE00 6.39
Slate Blue
#6A5ACD
ΔE00 6.51
Iris
#6258C4
ΔE00 6.52
Bluey Purple
#6241C7
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#784FB3 #8AB34F
analogous
#4F58B3 #784FB3 #AA4FB3
triadic
#784FB3 #B3784F #4FB378
tetradic
#784FB3 #B34F58 #8AB34F #4FB3AA
square
#784FB3 #B34F58 #8AB34F #4FB3AA
split-complementary
#784FB3 #B3AA4F #58B34F
monochromatic
#3F295F #5B3B89 #784FB3 #997AC5 #BAA4D8
Accessibility & contrast
On white
5.89
#784FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#784FB3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #784FB3
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##784FB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##784FB3 | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2564B6
Deuteranopia (green-blind)
#3364B1
Tritanopia (blue-blind)
#6C6379
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #784fb3; /* rgb */ color: rgb(120, 79, 179); /* oklch */ color: oklch(52.1% 0.154 300.0);
Tailwind
colors: {
custom: {
50: '#a282ca',
500: '#784fb3',
950: '#000000',
},
}SCSS
$custom: #784fb3; $custom-light: #a282ca; $custom-dark: #000000;
JSON
{
"hex": "#784fb3",
"rgb": {
"r": 120,
"g": 79,
"b": 179
},
"hsl": {
"h": 264.6,
"s": 39.683,
"l": 50.588
},
"oklch": {
"l": 0.52063,
"c": 0.15388,
"h": 300
},
"luminance": 0.1284
}Semantic roles & 50–950 ramp
primary
#784FB3
secondary
#B3C599
accent
#D0589F
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0A13
muted
#7F7C82