#704AB9#704AB9
#704AB9 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.9% C 0.168 H 295.6°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #704AB9 |
|---|---|
| RGB | rgb(112, 74, 185) |
| HSL | hsl(261, 44%, 51%) |
| HSV | hsv(261, 60%, 73%) |
| CMYK | cmyk(39.5%, 60%, 0%, 27.5%) |
| CIE-LAB | lab(40.97, 40.97, -53.18) |
| CIE-LCH | lch(40.97, 67.13, 307.61°) |
| OKLab | oklab(50.85% 0.0725 -0.1513) |
| OKLCH | oklch(50.85% 0.168 295.6) |
| XYZ | xyz(17.8855, 11.8447, 47.2335) |
| Luminance | 0.1184 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.07
Royal Purple
#7851A9
ΔE00 4.25
Iris
#6258C4
ΔE00 5.62
Light Indigo
#6D5ACF
ΔE00 5.90
Slate Blue
#6A5ACD
ΔE00 5.91
Ocean Blue
#4F42B5
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#704AB9 #93B94A
analogous
#4A5BB9 #704AB9 #A84AB9
triadic
#704AB9 #B9704A #4AB970
tetradic
#704AB9 #B94A5B #93B94A #4AB9A8
square
#704AB9 #B94A5B #93B94A #4AB9A8
split-complementary
#704AB9 #B9A84A #5BB94A
monochromatic
#3B2663 #55378F #704AB9 #9376CA #B6A2DB
Accessibility & contrast
On white
6.23
#704AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#704AB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #704AB9
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##704AB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##704AB9 | 1.00 | 6.23 | 3.37 | 6.23 |
| #FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061BD
Deuteranopia (green-blind)
#165FB7
Tritanopia (blue-blind)
#5E627A
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #704ab9; /* rgb */ color: rgb(112, 74, 185); /* oklch */ color: oklch(50.9% 0.168 295.6);
Tailwind
colors: {
custom: {
50: '#9e7ecf',
500: '#704ab9',
950: '#000000',
},
}SCSS
$custom: #704ab9; $custom-light: #9e7ecf; $custom-dark: #000000;
JSON
{
"hex": "#704ab9",
"rgb": {
"r": 112,
"g": 74,
"b": 185
},
"hsl": {
"h": 260.541,
"s": 44.223,
"l": 50.784
},
"oklch": {
"l": 0.50851,
"c": 0.16779,
"h": 295.6
},
"luminance": 0.11845
}Semantic roles & 50–950 ramp
primary
#704AB9
secondary
#B7C897
accent
#D454A8
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0A14
muted
#7F7C82