#704FD8#704FD8
#704FD8 is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.9% C 0.199 H 289.0°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #704FD8 |
|---|---|
| RGB | rgb(112, 79, 216) |
| HSL | hsl(254, 64%, 58%) |
| HSV | hsv(254, 63%, 85%) |
| CMYK | cmyk(48.1%, 63.4%, 0%, 15.3%) |
| CIE-LAB | lab(44.22, 46.80, -65.85) |
| CIE-LCH | lch(44.22, 80.79, 305.40°) |
| OKLab | oklab(53.92% 0.0649 -0.1886) |
| OKLCH | oklch(53.92% 0.199 289) |
| XYZ | xyz(21.8692, 13.9937, 66.5012) |
| Luminance | 0.1399 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.32
Slate Blue
#6A5ACD
ΔE00 3.60
Bluish Purple
#703BE7
ΔE00 4.49
Purpleish Blue
#6140EF
ΔE00 4.59
Iris
#6258C4
ΔE00 4.61
Purpley
#8756E4
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#704FD8 #B7D84F
analogous
#4F72D8 #704FD8 #B54FD8
triadic
#704FD8 #D8704F #4FD870
tetradic
#704FD8 #D84F72 #B7D84F #4FD8B5
square
#704FD8 #D84F72 #B7D84F #4FD8B5
split-complementary
#704FD8 #D8B54F #72D84F
monochromatic
#3A1F8D #4E2ABF #704FD8 #9981E3 #C1B3EE
Accessibility & contrast
On white
5.53
#704FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#704FD8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #704FD8
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##704FD8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##704FD8 | 1.00 | 5.53 | 3.80 | 5.53 |
| #FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BDC
Deuteranopia (green-blind)
#0065D5
Tritanopia (blue-blind)
#4D708C
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #704fd8; /* rgb */ color: rgb(112, 79, 216); /* oklch */ color: oklch(53.9% 0.199 289.0);
Tailwind
colors: {
custom: {
50: '#a182e5',
500: '#704fd8',
950: '#000000',
},
}SCSS
$custom: #704fd8; $custom-light: #a182e5; $custom-dark: #000000;
JSON
{
"hex": "#704fd8",
"rgb": {
"r": 112,
"g": 79,
"b": 216
},
"hsl": {
"h": 254.453,
"s": 63.721,
"l": 57.843
},
"oklch": {
"l": 0.53917,
"c": 0.19945,
"h": 289
},
"luminance": 0.13995
}Semantic roles & 50–950 ramp
primary
#704FD8
secondary
#D0DDA6
accent
#E741BF
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100A16
muted
#7F7C84