#704AB2#704AB2
#704AB2 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.4% C 0.159 H 297.2°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #704AB2 |
|---|---|
| RGB | rgb(112, 74, 178) |
| HSL | hsl(262, 41%, 49%) |
| HSV | hsv(262, 58%, 70%) |
| CMYK | cmyk(37.1%, 58.4%, 0%, 30.2%) |
| CIE-LAB | lab(40.50, 39.08, -49.81) |
| CIE-LCH | lch(40.50, 63.31, 308.11°) |
| OKLab | oklab(50.36% 0.0727 -0.1414) |
| OKLCH | oklch(50.36% 0.159 297.2) |
| XYZ | xyz(17.1647, 11.5564, 43.4371) |
| Luminance | 0.1156 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.41
Bluey Purple
#6241C7
ΔE00 4.90
Iris
#6258C4
ΔE00 6.22
Ocean Blue
#4F42B5
ΔE00 6.38
Slate Blue
#6A5ACD
ΔE00 6.67
Light Indigo
#6D5ACF
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#704AB2 #8CB24A
analogous
#4A58B2 #704AB2 #A44AB2
triadic
#704AB2 #B2704A #4AB270
tetradic
#704AB2 #B24A58 #8CB24A #4AB2A4
square
#704AB2 #B24A58 #8CB24A #4AB2A4
split-complementary
#704AB2 #B2A44A #58B24A
monochromatic
#3A265C #553887 #704AB2 #9274C5 #B49FD7
Accessibility & contrast
On white
6.34
#704AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#704AB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #704AB2
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##704AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##704AB2 | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1160B5
Deuteranopia (green-blind)
#235EB0
Tritanopia (blue-blind)
#616077
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #704ab2; /* rgb */ color: rgb(112, 74, 178); /* oklch */ color: oklch(50.4% 0.159 297.2);
Tailwind
colors: {
custom: {
50: '#9d7eca',
500: '#704ab2',
950: '#000000',
},
}SCSS
$custom: #704ab2; $custom-light: #9d7eca; $custom-dark: #000000;
JSON
{
"hex": "#704ab2",
"rgb": {
"r": 112,
"g": 74,
"b": 178
},
"hsl": {
"h": 261.923,
"s": 41.27,
"l": 49.412
},
"oklch": {
"l": 0.50361,
"c": 0.15899,
"h": 297.2
},
"luminance": 0.11557
}Semantic roles & 50–950 ramp
primary
#704AB2
secondary
#B2C494
accent
#D157A4
background
#FAF7FC
surface
#F3EEF8
border
#CDC9D1
text
#0F0A13
muted
#7F7C82