#704BB3#704BB3
#704BB3 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.6% C 0.159 H 296.7°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #704BB3 |
|---|---|
| RGB | rgb(112, 75, 179) |
| HSL | hsl(261, 41%, 50%) |
| HSV | hsv(261, 58%, 70%) |
| CMYK | cmyk(37.4%, 58.1%, 0%, 29.8%) |
| CIE-LAB | lab(40.79, 38.77, -49.95) |
| CIE-LCH | lch(40.79, 63.23, 307.82°) |
| OKLab | oklab(50.59% 0.0714 -0.1418) |
| OKLCH | oklch(50.59% 0.159 296.7) |
| XYZ | xyz(17.3328, 11.7313, 43.9903) |
| Luminance | 0.1173 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.38
Bluey Purple
#6241C7
ΔE00 4.90
Iris
#6258C4
ΔE00 5.94
Slate Blue
#6A5ACD
ΔE00 6.36
Light Indigo
#6D5ACF
ΔE00 6.38
Ocean Blue
#4F42B5
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#704BB3 #8EB34B
analogous
#4B5AB3 #704BB3 #A44BB3
triadic
#704BB3 #B3704B #4BB370
tetradic
#704BB3 #B34B5A #8EB34B #4BB3A4
square
#704BB3 #B34B5A #8EB34B #4BB3A4
split-complementary
#704BB3 #B3A44B #5AB34B
monochromatic
#3A275D #553988 #704BB3 #9276C5 #B4A1D8
Accessibility & contrast
On white
6.28
#704BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#704BB3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #704BB3
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##704BB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##704BB3 | 1.00 | 6.28 | 3.35 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1361B6
Deuteranopia (green-blind)
#245FB1
Tritanopia (blue-blind)
#606178
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #704bb3; /* rgb */ color: rgb(112, 75, 179); /* oklch */ color: oklch(50.6% 0.159 296.7);
Tailwind
colors: {
custom: {
50: '#9d7fca',
500: '#704bb3',
950: '#000000',
},
}SCSS
$custom: #704bb3; $custom-light: #9d7fca; $custom-dark: #000000;
JSON
{
"hex": "#704bb3",
"rgb": {
"r": 112,
"g": 75,
"b": 179
},
"hsl": {
"h": 261.346,
"s": 40.945,
"l": 49.804
},
"oklch": {
"l": 0.5059,
"c": 0.15878,
"h": 296.7
},
"luminance": 0.11732
}Semantic roles & 50–950 ramp
primary
#704BB3
secondary
#B4C495
accent
#D157A5
background
#FAF7FC
surface
#F3EEF8
border
#CDC9D1
text
#0F0A13
muted
#7F7C82