#704CC1#704CC1
#704CC1 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.7% C 0.175 H 293.5°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #704CC1 |
|---|---|
| RGB | rgb(112, 76, 193) |
| HSL | hsl(258, 49%, 53%) |
| HSV | hsv(258, 61%, 76%) |
| CMYK | cmyk(42%, 60.6%, 0%, 24.3%) |
| CIE-LAB | lab(41.94, 42.03, -56.28) |
| CIE-LCH | lch(41.94, 70.24, 306.75°) |
| OKLab | oklab(51.74% 0.0699 -0.1604) |
| OKLCH | oklch(51.74% 0.175 293.5) |
| XYZ | xyz(18.8896, 12.4634, 51.8522) |
| Luminance | 0.1246 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.80
Light Indigo
#6D5ACF
ΔE00 4.72
Iris
#6258C4
ΔE00 4.75
Slate Blue
#6A5ACD
ΔE00 4.78
Royal Purple
#7851A9
ΔE00 5.11
Bluish Purple
#703BE7
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#704CC1 #9DC14C
analogous
#4C62C1 #704CC1 #AB4CC1
triadic
#704CC1 #C1704C #4CC170
tetradic
#704CC1 #C14C62 #9DC14C #4CC1AB
square
#704CC1 #C14C62 #9DC14C #4CC1AB
split-complementary
#704CC1 #C1AB4C #62C14C
monochromatic
#3C266D #55359A #704CC1 #9479D1 #B9A7E0
Accessibility & contrast
On white
6.01
#704CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#704CC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #704CC1
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##704CC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##704CC1 | 1.00 | 6.01 | 3.49 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C5
Deuteranopia (green-blind)
#0061BE
Tritanopia (blue-blind)
#5A667F
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #704cc1; /* rgb */ color: rgb(112, 76, 193); /* oklch */ color: oklch(51.7% 0.175 293.5);
Tailwind
colors: {
custom: {
50: '#9f80d4',
500: '#704cc1',
950: '#000000',
},
}SCSS
$custom: #704cc1; $custom-light: #9f80d4; $custom-dark: #000000;
JSON
{
"hex": "#704cc1",
"rgb": {
"r": 112,
"g": 76,
"b": 193
},
"hsl": {
"h": 258.462,
"s": 48.548,
"l": 52.745
},
"oklch": {
"l": 0.51737,
"c": 0.17498,
"h": 293.5
},
"luminance": 0.12464
}Semantic roles & 50–950 ramp
primary
#704CC1
secondary
#BECE9B
accent
#D850AE
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83