#704DC5#704DC5
#704DC5 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.2% C 0.179 H 292.6°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #704DC5 |
|---|---|
| RGB | rgb(112, 77, 197) |
| HSL | hsl(258, 51%, 54%) |
| HSV | hsv(258, 61%, 77%) |
| CMYK | cmyk(43.1%, 60.9%, 0%, 22.7%) |
| CIE-LAB | lab(42.43, 42.57, -57.81) |
| CIE-LCH | lch(42.43, 71.80, 306.37°) |
| OKLab | oklab(52.18% 0.0685 -0.1649) |
| OKLCH | oklch(52.18% 0.179 292.6) |
| XYZ | xyz(19.4113, 12.7831, 54.2571) |
| Luminance | 0.1278 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.87
Light Indigo
#6D5ACF
ΔE00 4.19
Slate Blue
#6A5ACD
ΔE00 4.28
Iris
#6258C4
ΔE00 4.42
Royal Purple
#7851A9
ΔE00 5.59
Bluish Purple
#703BE7
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#704DC5 #A2C54D
analogous
#4D66C5 #704DC5 #AC4DC5
triadic
#704DC5 #C5704D #4DC570
tetradic
#704DC5 #C54D66 #A2C54D #4DC5AC
square
#704DC5 #C54D66 #A2C54D #4DC5AC
split-complementary
#704DC5 #C5AC4D #66C54D
monochromatic
#3C2572 #5434A0 #704DC5 #957BD4 #BAA9E3
Accessibility & contrast
On white
5.90
#704DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#704DC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #704DC5
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##704DC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##704DC5 | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C9
Deuteranopia (green-blind)
#0062C2
Tritanopia (blue-blind)
#586882
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #704dc5; /* rgb */ color: rgb(112, 77, 197); /* oklch */ color: oklch(52.2% 0.179 292.6);
Tailwind
colors: {
custom: {
50: '#9f80d7',
500: '#704dc5',
950: '#000000',
},
}SCSS
$custom: #704dc5; $custom-light: #9f80d7; $custom-dark: #000000;
JSON
{
"hex": "#704dc5",
"rgb": {
"r": 112,
"g": 77,
"b": 197
},
"hsl": {
"h": 257.5,
"s": 50.847,
"l": 53.725
},
"oklch": {
"l": 0.52184,
"c": 0.17859,
"h": 292.6
},
"luminance": 0.12784
}Semantic roles & 50–950 ramp
primary
#704DC5
secondary
#C2D19D
accent
#DA4DB1
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83