#704CB6#704CB6
#704CB6 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.0% C 0.161 H 295.8°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #704CB6 |
|---|---|
| RGB | rgb(112, 76, 182) |
| HSL | hsl(260, 42%, 51%) |
| HSV | hsv(260, 58%, 71%) |
| CMYK | cmyk(38.5%, 58.2%, 0%, 28.6%) |
| CIE-LAB | lab(41.20, 39.01, -51.04) |
| CIE-LCH | lch(41.20, 64.24, 307.39°) |
| OKLab | oklab(50.96% 0.0702 -0.145) |
| OKLCH | oklch(50.96% 0.161 295.8) |
| XYZ | xyz(17.7078, 11.9907, 45.6284) |
| Luminance | 0.1199 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.63
Bluey Purple
#6241C7
ΔE00 4.70
Iris
#6258C4
ΔE00 5.46
Slate Blue
#6A5ACD
ΔE00 5.82
Light Indigo
#6D5ACF
ΔE00 5.83
Ocean Blue
#4F42B5
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#704CB6 #92B64C
analogous
#4C5DB6 #704CB6 #A54CB6
triadic
#704CB6 #B6704C #4CB670
tetradic
#704CB6 #B64C5D #92B64C #4CB6A5
square
#704CB6 #B64C5D #92B64C #4CB6A5
split-complementary
#704CB6 #B6A54C #5DB64C
monochromatic
#3B2760 #55398C #704CB6 #9377C8 #B5A3D9
Accessibility & contrast
On white
6.18
#704CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#704CB6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #704CB6
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##704CB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##704CB6 | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F62B9
Deuteranopia (green-blind)
#2160B4
Tritanopia (blue-blind)
#5F6379
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #704cb6; /* rgb */ color: rgb(112, 76, 182); /* oklch */ color: oklch(51.0% 0.161 295.8);
Tailwind
colors: {
custom: {
50: '#9d7fcc',
500: '#704cb6',
950: '#000000',
},
}SCSS
$custom: #704cb6; $custom-light: #9d7fcc; $custom-dark: #000000;
JSON
{
"hex": "#704cb6",
"rgb": {
"r": 112,
"g": 76,
"b": 182
},
"hsl": {
"h": 260.377,
"s": 42.063,
"l": 50.588
},
"oklch": {
"l": 0.50957,
"c": 0.16111,
"h": 295.8
},
"luminance": 0.11991
}Semantic roles & 50–950 ramp
primary
#704CB6
secondary
#B6C697
accent
#D256A8
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0A13
muted
#7F7C82