#704CB9#704CB9
#704CB9 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.2% C 0.165 H 295.2°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #704CB9 |
|---|---|
| RGB | rgb(112, 76, 185) |
| HSL | hsl(260, 44%, 51%) |
| HSV | hsv(260, 59%, 73%) |
| CMYK | cmyk(39.5%, 58.9%, 0%, 27.5%) |
| CIE-LAB | lab(41.40, 39.83, -52.48) |
| CIE-LCH | lch(41.40, 65.89, 307.20°) |
| OKLab | oklab(51.17% 0.0701 -0.1493) |
| OKLCH | oklch(51.17% 0.165 295.2) |
| XYZ | xyz(18.0212, 12.1160, 47.2787) |
| Luminance | 0.1212 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.03
Bluey Purple
#6241C7
ΔE00 4.39
Iris
#6258C4
ΔE00 5.21
Light Indigo
#6D5ACF
ΔE00 5.49
Slate Blue
#6A5ACD
ΔE00 5.50
Ocean Blue
#4F42B5
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#704CB9 #95B94C
analogous
#4C5EB9 #704CB9 #A64CB9
triadic
#704CB9 #B9704C #4CB970
tetradic
#704CB9 #B94C5E #95B94C #4CB9A6
square
#704CB9 #B94C5E #95B94C #4CB9A6
split-complementary
#704CB9 #B9A64C #5EB94C
monochromatic
#3B2764 #553890 #704CB9 #9378CA #B6A4DB
Accessibility & contrast
On white
6.13
#704CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#704CB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #704CB9
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##704CB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##704CB9 | 1.00 | 6.13 | 3.42 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0463BD
Deuteranopia (green-blind)
#1B60B7
Tritanopia (blue-blind)
#5E647B
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #704cb9; /* rgb */ color: rgb(112, 76, 185); /* oklch */ color: oklch(51.2% 0.165 295.2);
Tailwind
colors: {
custom: {
50: '#9e7fcf',
500: '#704cb9',
950: '#000000',
},
}SCSS
$custom: #704cb9; $custom-light: #9e7fcf; $custom-dark: #000000;
JSON
{
"hex": "#704cb9",
"rgb": {
"r": 112,
"g": 76,
"b": 185
},
"hsl": {
"h": 259.817,
"s": 43.775,
"l": 51.176
},
"oklch": {
"l": 0.51167,
"c": 0.16491,
"h": 295.2
},
"luminance": 0.12116
}Semantic roles & 50–950 ramp
primary
#704CB9
secondary
#B9C898
accent
#D454A9
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0A14
muted
#7F7C82