#704BBF#704BBF
#704BBF is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.4% C 0.174 H 294.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #704BBF |
|---|---|
| RGB | rgb(112, 75, 191) |
| HSL | hsl(259, 48%, 52%) |
| HSV | hsv(259, 61%, 75%) |
| CMYK | cmyk(41.4%, 60.7%, 0%, 25.1%) |
| CIE-LAB | lab(41.59, 42.04, -55.68) |
| CIE-LCH | lch(41.59, 69.77, 307.06°) |
| OKLab | oklab(51.44% 0.0711 -0.1587) |
| OKLCH | oklch(51.44% 0.174 294.1) |
| XYZ | xyz(18.5996, 12.2380, 50.6623) |
| Luminance | 0.1224 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.73
Royal Purple
#7851A9
ΔE00 4.92
Iris
#6258C4
ΔE00 5.05
Light Indigo
#6D5ACF
ΔE00 5.12
Slate Blue
#6A5ACD
ΔE00 5.16
Bluish Purple
#703BE7
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#704BBF #9ABF4B
analogous
#4B60BF #704BBF #AA4BBF
triadic
#704BBF #BF704B #4BBF70
tetradic
#704BBF #BF4B60 #9ABF4B #4BBFAA
square
#704BBF #BF4B60 #9ABF4B #4BBFAA
split-complementary
#704BBF #BFAA4B #60BF4B
monochromatic
#3B266A #553697 #704BBF #9478CF #B8A5DF
Accessibility & contrast
On white
6.09
#704BBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#704BBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #704BBF
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##704BBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##704BBF | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#0460BD
Tritanopia (blue-blind)
#5B657E
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #704bbf; /* rgb */ color: rgb(112, 75, 191); /* oklch */ color: oklch(51.4% 0.174 294.1);
Tailwind
colors: {
custom: {
50: '#9e7fd3',
500: '#704bbf',
950: '#000000',
},
}SCSS
$custom: #704bbf; $custom-light: #9e7fd3; $custom-dark: #000000;
JSON
{
"hex": "#704bbf",
"rgb": {
"r": 112,
"g": 75,
"b": 191
},
"hsl": {
"h": 259.138,
"s": 47.541,
"l": 52.157
},
"oklch": {
"l": 0.51437,
"c": 0.17387,
"h": 294.1
},
"luminance": 0.12238
}Semantic roles & 50–950 ramp
primary
#704BBF
secondary
#BCCC9A
accent
#D751AC
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83