#704ED3#704ED3
#704ED3 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.4% C 0.195 H 290.0°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #704ED3 |
|---|---|
| RGB | rgb(112, 78, 211) |
| HSL | hsl(255, 60%, 57%) |
| HSV | hsv(255, 63%, 83%) |
| CMYK | cmyk(46.9%, 63%, 0%, 17.3%) |
| CIE-LAB | lab(43.65, 45.94, -63.93) |
| CIE-LCH | lch(43.65, 78.72, 305.70°) |
| OKLab | oklab(53.38% 0.0664 -0.1829) |
| OKLCH | oklch(53.38% 0.195 290) |
| XYZ | xyz(21.1610, 13.5959, 63.1247) |
| Luminance | 0.1360 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.47
Slate Blue
#6A5ACD
ΔE00 3.70
Bluey Purple
#6241C7
ΔE00 4.42
Iris
#6258C4
ΔE00 4.47
Bluish Purple
#703BE7
ΔE00 4.53
Purpleish Blue
#6140EF
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#704ED3 #B1D34E
analogous
#4E6FD3 #704ED3 #B24ED3
triadic
#704ED3 #D3704E #4ED370
tetradic
#704ED3 #D34E6F #B1D34E #4ED3B2
square
#704ED3 #D34E6F #B1D34E #4ED3B2
split-complementary
#704ED3 #D3B24E #6FD34E
monochromatic
#3B2185 #502DB6 #704ED3 #987FDF #BFB0EB
Accessibility & contrast
On white
5.65
#704ED3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#704ED3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #704ED3
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##704ED3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##704ED3 | 1.00 | 5.65 | 3.72 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD7
Deuteranopia (green-blind)
#0064D0
Tritanopia (blue-blind)
#506D89
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #704ed3; /* rgb */ color: rgb(112, 78, 211); /* oklch */ color: oklch(53.4% 0.195 290.0);
Tailwind
colors: {
custom: {
50: '#a081e1',
500: '#704ed3',
950: '#000000',
},
}SCSS
$custom: #704ed3; $custom-light: #a081e1; $custom-dark: #000000;
JSON
{
"hex": "#704ed3",
"rgb": {
"r": 112,
"g": 78,
"b": 211
},
"hsl": {
"h": 255.338,
"s": 60.181,
"l": 56.667
},
"oklch": {
"l": 0.53383,
"c": 0.1946,
"h": 290
},
"luminance": 0.13597
}Semantic roles & 50–950 ramp
primary
#704ED3
secondary
#CCDAA3
accent
#E344BB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83