#704EBA#704EBA
#704EBA is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.6% C 0.163 H 294.5°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #704EBA |
|---|---|
| RGB | rgb(112, 78, 186) |
| HSL | hsl(259, 44%, 52%) |
| HSV | hsv(259, 58%, 73%) |
| CMYK | cmyk(39.8%, 58.1%, 0%, 27.1%) |
| CIE-LAB | lab(41.90, 38.96, -52.26) |
| CIE-LCH | lch(41.90, 65.18, 306.70°) |
| OKLab | oklab(51.56% 0.0677 -0.1486) |
| OKLCH | oklch(51.56% 0.163 294.5) |
| XYZ | xyz(18.2671, 12.4383, 47.8832) |
| Luminance | 0.1244 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.01
Bluey Purple
#6241C7
ΔE00 4.67
Iris
#6258C4
ΔE00 4.74
Light Indigo
#6D5ACF
ΔE00 4.97
Slate Blue
#6A5ACD
ΔE00 4.98
Ocean Blue
#4F42B5
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#704EBA #98BA4E
analogous
#4E62BA #704EBA #A64EBA
triadic
#704EBA #BA704E #4EBA70
tetradic
#704EBA #BA4E62 #98BA4E #4EBAA6
square
#704EBA #BA4E62 #98BA4E #4EBAA6
split-complementary
#704EBA #BAA64E #62BA4E
monochromatic
#3B2866 #553992 #704EBA #947ACB #B7A6DC
Accessibility & contrast
On white
6.02
#704EBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#704EBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #704EBA
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##704EBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##704EBA | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E64BE
Deuteranopia (green-blind)
#1E61B8
Tritanopia (blue-blind)
#5D657C
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #704eba; /* rgb */ color: rgb(112, 78, 186); /* oklch */ color: oklch(51.6% 0.163 294.5);
Tailwind
colors: {
custom: {
50: '#9e81cf',
500: '#704eba',
950: '#000000',
},
}SCSS
$custom: #704eba; $custom-light: #9e81cf; $custom-dark: #000000;
JSON
{
"hex": "#704eba",
"rgb": {
"r": 112,
"g": 78,
"b": 186
},
"hsl": {
"h": 258.889,
"s": 43.902,
"l": 51.765
},
"oklch": {
"l": 0.51558,
"c": 0.16328,
"h": 294.5
},
"luminance": 0.12439
}Semantic roles & 50–950 ramp
primary
#704EBA
secondary
#BBCA9A
accent
#D454AC
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0A14
muted
#7F7C82