#704CAC#704CAC
#704CAC is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.3% C 0.148 H 298.2°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #704CAC |
|---|---|
| RGB | rgb(112, 76, 172) |
| HSL | hsl(263, 39%, 49%) |
| HSV | hsv(263, 56%, 67%) |
| CMYK | cmyk(34.9%, 55.8%, 0%, 32.5%) |
| CIE-LAB | lab(40.56, 36.31, -46.17) |
| CIE-LCH | lch(40.56, 58.74, 308.18°) |
| OKLab | oklab(50.28% 0.0701 -0.1307) |
| OKLCH | oklch(50.28% 0.148 298.2) |
| XYZ | xyz(16.7111, 11.5920, 40.3788) |
| Luminance | 0.1159 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.47
Bluey Purple
#6241C7
ΔE00 6.02
Iris
#6258C4
ΔE00 6.56
Ocean Blue
#4F42B5
ΔE00 6.99
Rebeccapurple
#663399
ΔE00 7.03
Slate Blue
#6A5ACD
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#704CAC #88AC4C
analogous
#4C58AC #704CAC #A04CAC
triadic
#704CAC #AC704C #4CAC70
tetradic
#704CAC #AC4C58 #88AC4C #4CACA0
square
#704CAC #AC4C58 #88AC4C #4CACA0
split-complementary
#704CAC #ACA04C #58AC4C
monochromatic
#392657 #543982 #704CAC #9174C1 #B29ED4
Accessibility & contrast
On white
6.33
#704CAC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#704CAC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #704CAC
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##704CAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##704CAC | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2260AF
Deuteranopia (green-blind)
#2E5FAA
Tritanopia (blue-blind)
#635F74
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #704cac; /* rgb */ color: rgb(112, 76, 172); /* oklch */ color: oklch(50.3% 0.148 298.2);
Tailwind
colors: {
custom: {
50: '#9d7fc5',
500: '#704cac',
950: '#000000',
},
}SCSS
$custom: #704cac; $custom-light: #9d7fc5; $custom-dark: #000000;
JSON
{
"hex": "#704cac",
"rgb": {
"r": 112,
"g": 76,
"b": 172
},
"hsl": {
"h": 262.5,
"s": 38.71,
"l": 48.627
},
"oklch": {
"l": 0.5028,
"c": 0.14832,
"h": 298.2
},
"luminance": 0.11592
}Semantic roles & 50–950 ramp
primary
#704CAC
secondary
#B0C193
accent
#CF59A3
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0F0A13
muted
#7E7C82