#704BB5#704BB5
#704BB5 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.7% C 0.161 H 296.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #704BB5 |
|---|---|
| RGB | rgb(112, 75, 181) |
| HSL | hsl(261, 42%, 50%) |
| HSV | hsv(261, 59%, 71%) |
| CMYK | cmyk(38.1%, 58.6%, 0%, 29%) |
| CIE-LAB | lab(40.92, 39.31, -50.91) |
| CIE-LCH | lch(40.92, 64.32, 307.67°) |
| OKLab | oklab(50.73% 0.0714 -0.1446) |
| OKLCH | oklch(50.73% 0.161 296.3) |
| XYZ | xyz(17.5365, 11.8128, 45.0633) |
| Luminance | 0.1181 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.62
Bluey Purple
#6241C7
ΔE00 4.66
Iris
#6258C4
ΔE00 5.74
Slate Blue
#6A5ACD
ΔE00 6.13
Light Indigo
#6D5ACF
ΔE00 6.14
Ocean Blue
#4F42B5
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#704BB5 #90B54B
analogous
#4B5BB5 #704BB5 #A54BB5
triadic
#704BB5 #B5704B #4BB570
tetradic
#704BB5 #B54B5B #90B54B #4BB5A5
square
#704BB5 #B54B5B #90B54B #4BB5A5
split-complementary
#704BB5 #B5A54B #5BB54B
monochromatic
#3A275F #55398A #704BB5 #9276C7 #B5A2D9
Accessibility & contrast
On white
6.25
#704BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#704BB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #704BB5
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##704BB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##704BB5 | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D61B8
Deuteranopia (green-blind)
#205FB3
Tritanopia (blue-blind)
#5F6279
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #704bb5; /* rgb */ color: rgb(112, 75, 181); /* oklch */ color: oklch(50.7% 0.161 296.3);
Tailwind
colors: {
custom: {
50: '#9d7fcc',
500: '#704bb5',
950: '#000000',
},
}SCSS
$custom: #704bb5; $custom-light: #9d7fcc; $custom-dark: #000000;
JSON
{
"hex": "#704bb5",
"rgb": {
"r": 112,
"g": 75,
"b": 181
},
"hsl": {
"h": 260.943,
"s": 41.732,
"l": 50.196
},
"oklch": {
"l": 0.50728,
"c": 0.1613,
"h": 296.3
},
"luminance": 0.11813
}Semantic roles & 50–950 ramp
primary
#704BB5
secondary
#B5C696
accent
#D256A7
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0A13
muted
#7F7C82