#704CB8#704CB8
#704CB8 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.1% C 0.164 H 295.4°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #704CB8 |
|---|---|
| RGB | rgb(112, 76, 184) |
| HSL | hsl(260, 43%, 51%) |
| HSV | hsv(260, 59%, 72%) |
| CMYK | cmyk(39.1%, 58.7%, 0%, 27.8%) |
| CIE-LAB | lab(41.33, 39.56, -52.00) |
| CIE-LCH | lch(41.33, 65.34, 307.26°) |
| OKLab | oklab(51.1% 0.0701 -0.1478) |
| OKLCH | oklch(51.1% 0.164 295.4) |
| XYZ | xyz(17.9160, 12.0740, 46.7247) |
| Luminance | 0.1207 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.89
Bluey Purple
#6241C7
ΔE00 4.49
Iris
#6258C4
ΔE00 5.29
Light Indigo
#6D5ACF
ΔE00 5.60
Slate Blue
#6A5ACD
ΔE00 5.60
Ocean Blue
#4F42B5
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#704CB8 #94B84C
analogous
#4C5EB8 #704CB8 #A64CB8
triadic
#704CB8 #B8704C #4CB870
tetradic
#704CB8 #B84C5E #94B84C #4CB8A6
square
#704CB8 #B84C5E #94B84C #4CB8A6
split-complementary
#704CB8 #B8A64C #5EB84C
monochromatic
#3B2763 #55388E #704CB8 #9378C9 #B6A4DB
Accessibility & contrast
On white
6.15
#704CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#704CB8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #704CB8
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##704CB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##704CB8 | 1.00 | 6.15 | 3.41 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0862BC
Deuteranopia (green-blind)
#1D60B6
Tritanopia (blue-blind)
#5E637B
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #704cb8; /* rgb */ color: rgb(112, 76, 184); /* oklch */ color: oklch(51.1% 0.164 295.4);
Tailwind
colors: {
custom: {
50: '#9e7fce',
500: '#704cb8',
950: '#000000',
},
}SCSS
$custom: #704cb8; $custom-light: #9e7fce; $custom-dark: #000000;
JSON
{
"hex": "#704cb8",
"rgb": {
"r": 112,
"g": 76,
"b": 184
},
"hsl": {
"h": 260,
"s": 43.2,
"l": 50.98
},
"oklch": {
"l": 0.51097,
"c": 0.16364,
"h": 295.4
},
"luminance": 0.12074
}Semantic roles & 50–950 ramp
primary
#704CB8
secondary
#B8C898
accent
#D355A9
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0A14
muted
#7F7C82