#704FE1#704FE1
#704FE1 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 54.6% C 0.210 H 287.7°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #704FE1 |
|---|---|
| RGB | rgb(112, 79, 225) |
| HSL | hsl(254, 71%, 60%) |
| HSV | hsv(254, 65%, 88%) |
| CMYK | cmyk(50.2%, 64.9%, 0%, 11.8%) |
| CIE-LAB | lab(44.90, 49.36, -69.88) |
| CIE-LCH | lch(44.90, 85.55, 305.24°) |
| OKLab | oklab(54.62% 0.064 -0.2004) |
| OKLCH | oklch(54.62% 0.21 287.7) |
| XYZ | xyz(23.0647, 14.4719, 72.7976) |
| Luminance | 0.1447 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.80
Purpleish Blue
#6140EF
ΔE00 4.11
Slate Blue
#6A5ACD
ΔE00 4.12
Bluish Purple
#703BE7
ΔE00 4.31
Purpley
#8756E4
ΔE00 4.49
Iris
#6258C4
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#704FE1 #C0E14F
analogous
#4F77E1 #704FE1 #B94FE1
triadic
#704FE1 #E1704F #4FE170
tetradic
#704FE1 #E14F77 #C0E14F #4FE1B9
square
#704FE1 #E14F77 #C0E14F #4FE1B9
split-complementary
#704FE1 #E1B94F #77E14F
monochromatic
#381A9B #4A23CF #704FE1 #9A83EA #C5B8F3
Accessibility & contrast
On white
5.39
#704FE1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#704FE1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #704FE1
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##704FE1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##704FE1 | 1.00 | 5.39 | 3.89 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EE6
Deuteranopia (green-blind)
#0066DE
Tritanopia (blue-blind)
#477391
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #704fe1; /* rgb */ color: rgb(112, 79, 225); /* oklch */ color: oklch(54.6% 0.210 287.7);
Tailwind
colors: {
custom: {
50: '#a282eb',
500: '#704fe1',
950: '#000000',
},
}SCSS
$custom: #704fe1; $custom-light: #a282eb; $custom-dark: #000000;
JSON
{
"hex": "#704fe1",
"rgb": {
"r": 112,
"g": 79,
"b": 225
},
"hsl": {
"h": 253.562,
"s": 70.874,
"l": 59.608
},
"oklch": {
"l": 0.5462,
"c": 0.21038,
"h": 287.7
},
"luminance": 0.14473
}Semantic roles & 50–950 ramp
primary
#704FE1
secondary
#D5E2AA
accent
#EE3AC5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84