#704FC5#704FC5
#704FC5 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.5% C 0.176 H 292.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #704FC5 |
|---|---|
| RGB | rgb(112, 79, 197) |
| HSL | hsl(257, 50%, 54%) |
| HSV | hsv(257, 60%, 77%) |
| CMYK | cmyk(43.1%, 59.9%, 0%, 22.7%) |
| CIE-LAB | lab(42.86, 41.44, -57.12) |
| CIE-LCH | lch(42.86, 70.57, 305.96°) |
| OKLab | oklab(52.5% 0.0662 -0.1629) |
| OKLCH | oklch(52.5% 0.176 292.1) |
| XYZ | xyz(19.5534, 13.0673, 54.3045) |
| Luminance | 0.1307 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.70
Slate Blue
#6A5ACD
ΔE00 3.79
Iris
#6258C4
ΔE00 4.01
Bluey Purple
#6241C7
ΔE00 4.31
Royal Purple
#7851A9
ΔE00 5.53
Dark Periwinkle
#665FD1
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#704FC5 #A4C54F
analogous
#4F69C5 #704FC5 #AB4FC5
triadic
#704FC5 #C5704F #4FC570
tetradic
#704FC5 #C54F69 #A4C54F #4FC5AB
square
#704FC5 #C54F69 #A4C54F #4FC5AB
split-complementary
#704FC5 #C5AB4F #69C54F
monochromatic
#3C2674 #5435A2 #704FC5 #957DD4 #BBABE3
Accessibility & contrast
On white
5.81
#704FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#704FC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #704FC5
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##704FC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##704FC5 | 1.00 | 5.81 | 3.61 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067C9
Deuteranopia (green-blind)
#0063C2
Tritanopia (blue-blind)
#586982
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #704fc5; /* rgb */ color: rgb(112, 79, 197); /* oklch */ color: oklch(52.5% 0.176 292.1);
Tailwind
colors: {
custom: {
50: '#9f82d7',
500: '#704fc5',
950: '#000000',
},
}SCSS
$custom: #704fc5; $custom-light: #9f82d7; $custom-dark: #000000;
JSON
{
"hex": "#704fc5",
"rgb": {
"r": 112,
"g": 79,
"b": 197
},
"hsl": {
"h": 256.78,
"s": 50.427,
"l": 54.118
},
"oklch": {
"l": 0.52498,
"c": 0.17583,
"h": 292.1
},
"luminance": 0.13068
}Semantic roles & 50–950 ramp
primary
#704FC5
secondary
#C3D19F
accent
#DA4EB3
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0A14
muted
#7F7C83