#704CBF#704CBF
#704CBF is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.6% C 0.172 H 293.9°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #704CBF |
|---|---|
| RGB | rgb(112, 76, 191) |
| HSL | hsl(259, 47%, 52%) |
| HSV | hsv(259, 60%, 75%) |
| CMYK | cmyk(41.4%, 60.2%, 0%, 25.1%) |
| CIE-LAB | lab(41.81, 41.48, -55.34) |
| CIE-LCH | lch(41.81, 69.16, 306.85°) |
| OKLab | oklab(51.59% 0.0699 -0.1577) |
| OKLCH | oklch(51.59% 0.172 293.9) |
| XYZ | xyz(18.6680, 12.3747, 50.6851) |
| Luminance | 0.1237 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.91
Iris
#6258C4
ΔE00 4.84
Royal Purple
#7851A9
ΔE00 4.84
Light Indigo
#6D5ACF
ΔE00 4.89
Slate Blue
#6A5ACD
ΔE00 4.94
Bluish Purple
#703BE7
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#704CBF #9BBF4C
analogous
#4C61BF #704CBF #AA4CBF
triadic
#704CBF #BF704C #4CBF70
tetradic
#704CBF #BF4C61 #9BBF4C #4CBFAA
square
#704CBF #BF4C61 #9BBF4C #4CBFAA
split-complementary
#704CBF #BFAA4C #61BF4C
monochromatic
#3C266B #553698 #704CBF #9479CF #B8A6DF
Accessibility & contrast
On white
6.04
#704CBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#704CBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #704CBF
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##704CBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##704CBF | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#0A61BD
Tritanopia (blue-blind)
#5B657E
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #704cbf; /* rgb */ color: rgb(112, 76, 191); /* oklch */ color: oklch(51.6% 0.172 293.9);
Tailwind
colors: {
custom: {
50: '#9e80d3',
500: '#704cbf',
950: '#000000',
},
}SCSS
$custom: #704cbf; $custom-light: #9e80d3; $custom-dark: #000000;
JSON
{
"hex": "#704cbf",
"rgb": {
"r": 112,
"g": 76,
"b": 191
},
"hsl": {
"h": 258.783,
"s": 47.325,
"l": 52.353
},
"oklch": {
"l": 0.51593,
"c": 0.17247,
"h": 293.9
},
"luminance": 0.12375
}Semantic roles & 50–950 ramp
primary
#704CBF
secondary
#BDCC9A
accent
#D751AD
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83