#704FB5#704FB5
#704FB5 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.4% C 0.155 H 295.3°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #704FB5 |
|---|---|
| RGB | rgb(112, 79, 181) |
| HSL | hsl(259, 41%, 51%) |
| HSV | hsv(259, 56%, 71%) |
| CMYK | cmyk(38.1%, 56.4%, 0%, 29%) |
| CIE-LAB | lab(41.80, 37.00, -49.49) |
| CIE-LCH | lch(41.80, 61.79, 306.79°) |
| OKLab | oklab(51.38% 0.0664 -0.1405) |
| OKLCH | oklch(51.38% 0.155 295.3) |
| XYZ | xyz(17.8164, 12.3726, 45.1566) |
| Luminance | 0.1237 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.25
Iris
#6258C4
ΔE00 5.02
Bluey Purple
#6241C7
ΔE00 5.35
Slate Blue
#6A5ACD
ΔE00 5.39
Light Indigo
#6D5ACF
ΔE00 5.41
Ocean Blue
#4F42B5
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#704FB5 #94B54F
analogous
#4F61B5 #704FB5 #A34FB5
triadic
#704FB5 #B5704F #4FB570
tetradic
#704FB5 #B54F61 #94B54F #4FB5A3
square
#704FB5 #B54F61 #94B54F #4FB5A3
split-complementary
#704FB5 #B5A34F #61B54F
monochromatic
#3B2961 #553B8C #704FB5 #937AC7 #B6A5D9
Accessibility & contrast
On white
6.04
#704FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#704FB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #704FB5
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##704FB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##704FB5 | 1.00 | 6.04 | 3.47 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D63B8
Deuteranopia (green-blind)
#2861B3
Tritanopia (blue-blind)
#5F647A
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #704fb5; /* rgb */ color: rgb(112, 79, 181); /* oklch */ color: oklch(51.4% 0.155 295.3);
Tailwind
colors: {
custom: {
50: '#9d81cc',
500: '#704fb5',
950: '#000000',
},
}SCSS
$custom: #704fb5; $custom-light: #9d81cc; $custom-dark: #000000;
JSON
{
"hex": "#704fb5",
"rgb": {
"r": 112,
"g": 79,
"b": 181
},
"hsl": {
"h": 259.412,
"s": 40.8,
"l": 50.98
},
"oklch": {
"l": 0.51379,
"c": 0.15538,
"h": 295.3
},
"luminance": 0.12373
}Semantic roles & 50–950 ramp
primary
#704FB5
secondary
#B8C699
accent
#D157A9
background
#FAF8FC
surface
#F3EFF9
border
#CDCAD2
text
#0F0A13
muted
#7F7C82