#704FC2#704FC2
#704FC2 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.3% C 0.172 H 292.7°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #704FC2 |
|---|---|
| RGB | rgb(112, 79, 194) |
| HSL | hsl(257, 49%, 54%) |
| HSV | hsv(257, 59%, 76%) |
| CMYK | cmyk(42.3%, 59.3%, 0%, 23.9%) |
| CIE-LAB | lab(42.66, 40.60, -55.71) |
| CIE-LCH | lch(42.66, 68.93, 306.09°) |
| OKLab | oklab(52.28% 0.0663 -0.1587) |
| OKLCH | oklch(52.28% 0.172 292.7) |
| XYZ | xyz(19.2130, 12.9312, 52.5122) |
| Luminance | 0.1293 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.94
Slate Blue
#6A5ACD
ΔE00 4.01
Iris
#6258C4
ΔE00 4.09
Bluey Purple
#6241C7
ΔE00 4.39
Royal Purple
#7851A9
ΔE00 5.10
Dark Periwinkle
#665FD1
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#704FC2 #A1C24F
analogous
#4F67C2 #704FC2 #A94FC2
triadic
#704FC2 #C2704F #4FC270
tetradic
#704FC2 #C24F67 #A1C24F #4FC2A9
square
#704FC2 #C24F67 #A1C24F #4FC2A9
split-complementary
#704FC2 #C2A94F #67C24F
monochromatic
#3C2770 #54379D #704FC2 #957CD2 #BAAAE2
Accessibility & contrast
On white
5.86
#704FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#704FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #704FC2
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##704FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##704FC2 | 1.00 | 5.86 | 3.59 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#0C63C0
Tritanopia (blue-blind)
#596881
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #704fc2; /* rgb */ color: rgb(112, 79, 194); /* oklch */ color: oklch(52.3% 0.172 292.7);
Tailwind
colors: {
custom: {
50: '#9e82d5',
500: '#704fc2',
950: '#000000',
},
}SCSS
$custom: #704fc2; $custom-light: #9e82d5; $custom-dark: #000000;
JSON
{
"hex": "#704fc2",
"rgb": {
"r": 112,
"g": 79,
"b": 194
},
"hsl": {
"h": 257.217,
"s": 48.523,
"l": 53.529
},
"oklch": {
"l": 0.52282,
"c": 0.17204,
"h": 292.7
},
"luminance": 0.12932
}Semantic roles & 50–950 ramp
primary
#704FC2
secondary
#C1CF9E
accent
#D850B1
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0A14
muted
#7F7C83