#704AA2#704AA2
#704AA2 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.3% C 0.139 H 301.4°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #704AA2 |
|---|---|
| RGB | rgb(112, 74, 162) |
| HSL | hsl(266, 37%, 46%) |
| HSV | hsv(266, 54%, 64%) |
| CMYK | cmyk(30.9%, 54.3%, 0%, 36.5%) |
| CIE-LAB | lab(39.50, 34.84, -41.92) |
| CIE-LCH | lch(39.50, 54.51, 309.73°) |
| OKLab | oklab(49.3% 0.0723 -0.1183) |
| OKLCH | oklch(49.3% 0.139 301.4) |
| XYZ | xyz(15.6510, 10.9509, 35.4646) |
| Luminance | 0.1095 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.57
Rebeccapurple
#663399
ΔE00 6.18
Bluey Purple
#6241C7
ΔE00 7.42
Ocean Blue
#4F42B5
ΔE00 7.90
Purply
#983FB2
ΔE00 8.21
Iris
#6258C4
ΔE00 8.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#704AA2 #7CA24A
analogous
#4A50A2 #704AA2 #9C4AA2
triadic
#704AA2 #A2704A #4AA270
tetradic
#704AA2 #A24A50 #7CA24A #4AA29C
square
#704AA2 #A24A50 #7CA24A #4AA29C
split-complementary
#704AA2 #A29C4A #50A24A
monochromatic
#36244E #533778 #704AA2 #8F6DBC #AF97CF
Accessibility & contrast
On white
6.58
#704AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#704AA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #704AA2
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##704AA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##704AA2 | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A5DA5
Deuteranopia (green-blind)
#355DA0
Tritanopia (blue-blind)
#665B6F
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #704aa2; /* rgb */ color: rgb(112, 74, 162); /* oklch */ color: oklch(49.3% 0.139 301.4);
Tailwind
colors: {
custom: {
50: '#9c7ebe',
500: '#704aa2',
950: '#000000',
},
}SCSS
$custom: #704aa2; $custom-light: #9c7ebe; $custom-dark: #000000;
JSON
{
"hex": "#704aa2",
"rgb": {
"r": 112,
"g": 74,
"b": 162
},
"hsl": {
"h": 265.909,
"s": 37.288,
"l": 46.275
},
"oklch": {
"l": 0.49298,
"c": 0.1386,
"h": 301.4
},
"luminance": 0.10951
}Semantic roles & 50–950 ramp
primary
#704AA2
secondary
#A7BC8C
accent
#CD5B9C
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81