#704AC1#704AC1
#704AC1 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.4% C 0.178 H 293.9°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #704AC1 |
|---|---|
| RGB | rgb(112, 74, 193) |
| HSL | hsl(259, 49%, 52%) |
| HSV | hsv(259, 62%, 76%) |
| CMYK | cmyk(42%, 61.7%, 0%, 24.3%) |
| CIE-LAB | lab(41.52, 43.16, -56.96) |
| CIE-LCH | lch(41.52, 71.47, 307.15°) |
| OKLab | oklab(51.43% 0.0721 -0.1624) |
| OKLCH | oklch(51.43% 0.178 293.9) |
| XYZ | xyz(18.7539, 12.1921, 51.8069) |
| Luminance | 0.1219 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.45
Iris
#6258C4
ΔE00 5.18
Light Indigo
#6D5ACF
ΔE00 5.19
Slate Blue
#6A5ACD
ΔE00 5.25
Royal Purple
#7851A9
ΔE00 5.27
Bluish Purple
#703BE7
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#704AC1 #9BC14A
analogous
#4A5FC1 #704AC1 #AC4AC1
triadic
#704AC1 #C1704A #4AC170
tetradic
#704AC1 #C14A5F #9BC14A #4AC1AC
square
#704AC1 #C14A5F #9BC14A #4AC1AC
split-complementary
#704AC1 #C1AC4A #5FC14A
monochromatic
#3C256C #553599 #704AC1 #9478D1 #B8A5E0
Accessibility & contrast
On white
6.11
#704AC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#704AC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #704AC1
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##704AC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##704AC1 | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C5
Deuteranopia (green-blind)
#0060BE
Tritanopia (blue-blind)
#5A657E
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #704ac1; /* rgb */ color: rgb(112, 74, 193); /* oklch */ color: oklch(51.4% 0.178 293.9);
Tailwind
colors: {
custom: {
50: '#9f7ed4',
500: '#704ac1',
950: '#000000',
},
}SCSS
$custom: #704ac1; $custom-light: #9f7ed4; $custom-dark: #000000;
JSON
{
"hex": "#704ac1",
"rgb": {
"r": 112,
"g": 74,
"b": 193
},
"hsl": {
"h": 259.16,
"s": 48.971,
"l": 52.353
},
"oklch": {
"l": 0.51428,
"c": 0.17773,
"h": 293.9
},
"luminance": 0.12193
}Semantic roles & 50–950 ramp
primary
#704AC1
secondary
#BDCD99
accent
#D94FAD
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83