#704BBD#704BBD
#704BBD is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.3% C 0.171 H 294.5°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #704BBD |
|---|---|
| RGB | rgb(112, 75, 189) |
| HSL | hsl(259, 46%, 52%) |
| HSV | hsv(259, 60%, 74%) |
| CMYK | cmyk(40.7%, 60.3%, 0%, 25.9%) |
| CIE-LAB | lab(41.45, 41.49, -54.74) |
| CIE-LCH | lch(41.45, 68.69, 307.17°) |
| OKLab | oklab(51.29% 0.0712 -0.1559) |
| OKLCH | oklch(51.29% 0.171 294.5) |
| XYZ | xyz(18.3810, 12.1506, 49.5111) |
| Luminance | 0.1215 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.87
Royal Purple
#7851A9
ΔE00 4.65
Iris
#6258C4
ΔE00 5.15
Light Indigo
#6D5ACF
ΔE00 5.30
Slate Blue
#6A5ACD
ΔE00 5.33
Ocean Blue
#4F42B5
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#704BBD #98BD4B
analogous
#4B5FBD #704BBD #A94BBD
triadic
#704BBD #BD704B #4BBD70
tetradic
#704BBD #BD4B5F #98BD4B #4BBDA9
square
#704BBD #BD4B5F #98BD4B #4BBDA9
split-complementary
#704BBD #BDA94B #5FBD4B
monochromatic
#3B2668 #553694 #704BBD #9478CD #B7A5DE
Accessibility & contrast
On white
6.12
#704BBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#704BBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #704BBD
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##704BBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##704BBD | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#0D60BB
Tritanopia (blue-blind)
#5C647D
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #704bbd; /* rgb */ color: rgb(112, 75, 189); /* oklch */ color: oklch(51.3% 0.171 294.5);
Tailwind
colors: {
custom: {
50: '#9e7fd2',
500: '#704bbd',
950: '#000000',
},
}SCSS
$custom: #704bbd; $custom-light: #9e7fd2; $custom-dark: #000000;
JSON
{
"hex": "#704bbd",
"rgb": {
"r": 112,
"g": 75,
"b": 189
},
"hsl": {
"h": 259.474,
"s": 46.341,
"l": 51.765
},
"oklch": {
"l": 0.51292,
"c": 0.17138,
"h": 294.5
},
"luminance": 0.12151
}Semantic roles & 50–950 ramp
primary
#704BBD
secondary
#BBCB99
accent
#D652AB
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83