#704BB6#704BB6
#704BB6 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.8% C 0.163 H 296.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #704BB6 |
|---|---|
| RGB | rgb(112, 75, 182) |
| HSL | hsl(261, 42%, 50%) |
| HSV | hsv(261, 59%, 71%) |
| CMYK | cmyk(38.5%, 58.8%, 0%, 28.6%) |
| CIE-LAB | lab(40.98, 39.59, -51.39) |
| CIE-LCH | lch(40.98, 64.87, 307.60°) |
| OKLab | oklab(50.8% 0.0714 -0.1461) |
| OKLCH | oklch(50.8% 0.163 296) |
| XYZ | xyz(17.6395, 11.8540, 45.6056) |
| Luminance | 0.1185 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.75
Bluey Purple
#6241C7
ΔE00 4.54
Iris
#6258C4
ΔE00 5.66
Slate Blue
#6A5ACD
ΔE00 6.02
Light Indigo
#6D5ACF
ΔE00 6.02
Ocean Blue
#4F42B5
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#704BB6 #91B64B
analogous
#4B5BB6 #704BB6 #A54BB6
triadic
#704BB6 #B6704B #4BB670
tetradic
#704BB6 #B64B5B #91B64B #4BB6A5
square
#704BB6 #B64B5B #91B64B #4BB6A5
split-complementary
#704BB6 #B6A54B #5BB64B
monochromatic
#3B2760 #55388B #704BB6 #9377C8 #B5A2D9
Accessibility & contrast
On white
6.23
#704BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#704BB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #704BB6
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##704BB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##704BB6 | 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)
#0A61BA
Deuteranopia (green-blind)
#1F5FB4
Tritanopia (blue-blind)
#5F6279
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #704bb6; /* rgb */ color: rgb(112, 75, 182); /* oklch */ color: oklch(50.8% 0.163 296.0);
Tailwind
colors: {
custom: {
50: '#9d7fcc',
500: '#704bb6',
950: '#000000',
},
}SCSS
$custom: #704bb6; $custom-light: #9d7fcc; $custom-dark: #000000;
JSON
{
"hex": "#704bb6",
"rgb": {
"r": 112,
"g": 75,
"b": 182
},
"hsl": {
"h": 260.748,
"s": 42.292,
"l": 50.392
},
"oklch": {
"l": 0.50797,
"c": 0.16257,
"h": 296
},
"luminance": 0.11854
}Semantic roles & 50–950 ramp
primary
#704BB6
secondary
#B6C697
accent
#D256A7
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0A13
muted
#7F7C82