#704CC6#704CC6
#704CC6 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.1% C 0.181 H 292.6°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #704CC6 |
|---|---|
| RGB | rgb(112, 76, 198) |
| HSL | hsl(258, 52%, 54%) |
| HSV | hsv(258, 62%, 78%) |
| CMYK | cmyk(43.4%, 61.6%, 0%, 22.4%) |
| CIE-LAB | lab(42.29, 43.42, -58.62) |
| CIE-LCH | lch(42.29, 72.95, 306.52°) |
| OKLab | oklab(52.1% 0.0696 -0.1673) |
| OKLCH | oklch(52.1% 0.181 292.6) |
| XYZ | xyz(19.4568, 12.6903, 54.8395) |
| Luminance | 0.1269 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.65
Light Indigo
#6D5ACF
ΔE00 4.37
Slate Blue
#6A5ACD
ΔE00 4.47
Iris
#6258C4
ΔE00 4.62
Bluish Purple
#703BE7
ΔE00 5.35
Royal Purple
#7851A9
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#704CC6 #A2C64C
analogous
#4C65C6 #704CC6 #AD4CC6
triadic
#704CC6 #C6704C #4CC670
tetradic
#704CC6 #C64C65 #A2C64C #4CC6AD
square
#704CC6 #C64C65 #A2C64C #4CC6AD
split-complementary
#704CC6 #C6AD4C #65C64C
monochromatic
#3C2573 #5433A1 #704CC6 #957AD5 #BAA9E4
Accessibility & contrast
On white
5.94
#704CC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#704CC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #704CC6
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##704CC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##704CC6 | 1.00 | 5.94 | 3.54 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065CA
Deuteranopia (green-blind)
#0061C3
Tritanopia (blue-blind)
#586882
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #704cc6; /* rgb */ color: rgb(112, 76, 198); /* oklch */ color: oklch(52.1% 0.181 292.6);
Tailwind
colors: {
custom: {
50: '#9f80d8',
500: '#704cc6',
950: '#000000',
},
}SCSS
$custom: #704cc6; $custom-light: #9f80d8; $custom-dark: #000000;
JSON
{
"hex": "#704cc6",
"rgb": {
"r": 112,
"g": 76,
"b": 198
},
"hsl": {
"h": 257.705,
"s": 51.695,
"l": 53.725
},
"oklch": {
"l": 0.52103,
"c": 0.1812,
"h": 292.6
},
"luminance": 0.12691
}Semantic roles & 50–950 ramp
primary
#704CC6
secondary
#C2D19D
accent
#DB4DB1
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A15
muted
#7F7C83