#704CB7#704CB7
#704CB7 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.0% C 0.162 H 295.6°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #704CB7 |
|---|---|
| RGB | rgb(112, 76, 183) |
| HSL | hsl(260, 43%, 51%) |
| HSV | hsv(260, 58%, 72%) |
| CMYK | cmyk(38.8%, 58.5%, 0%, 28.2%) |
| CIE-LAB | lab(41.27, 39.28, -51.52) |
| CIE-LCH | lch(41.27, 64.79, 307.32°) |
| OKLab | oklab(51.03% 0.0702 -0.1464) |
| OKLCH | oklch(51.03% 0.162 295.6) |
| XYZ | xyz(17.8116, 12.0322, 46.1746) |
| Luminance | 0.1203 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.76
Bluey Purple
#6241C7
ΔE00 4.59
Iris
#6258C4
ΔE00 5.37
Slate Blue
#6A5ACD
ΔE00 5.71
Light Indigo
#6D5ACF
ΔE00 5.71
Ocean Blue
#4F42B5
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#704CB7 #93B74C
analogous
#4C5DB7 #704CB7 #A54CB7
triadic
#704CB7 #B7704C #4CB770
tetradic
#704CB7 #B74C5D #93B74C #4CB7A5
square
#704CB7 #B74C5D #93B74C #4CB7A5
split-complementary
#704CB7 #B7A54C #5DB74C
monochromatic
#3B2761 #55398D #704CB7 #9378C9 #B6A3DA
Accessibility & contrast
On white
6.16
#704CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#704CB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #704CB7
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##704CB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##704CB7 | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C62BB
Deuteranopia (green-blind)
#1F60B5
Tritanopia (blue-blind)
#5F637A
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #704cb7; /* rgb */ color: rgb(112, 76, 183); /* oklch */ color: oklch(51.0% 0.162 295.6);
Tailwind
colors: {
custom: {
50: '#9e7fcd',
500: '#704cb7',
950: '#000000',
},
}SCSS
$custom: #704cb7; $custom-light: #9e7fcd; $custom-dark: #000000;
JSON
{
"hex": "#704cb7",
"rgb": {
"r": 112,
"g": 76,
"b": 183
},
"hsl": {
"h": 260.187,
"s": 42.629,
"l": 50.784
},
"oklch": {
"l": 0.51027,
"c": 0.16238,
"h": 295.6
},
"luminance": 0.12033
}Semantic roles & 50–950 ramp
primary
#704CB7
secondary
#B7C798
accent
#D255A8
background
#FAF7FC
surface
#F3EEF9
border
#CDC9D2
text
#0F0A13
muted
#7F7C82