#704FB7#704FB7
#704FB7 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.5% C 0.158 H 294.9°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #704FB7 |
|---|---|
| RGB | rgb(112, 79, 183) |
| HSL | hsl(259, 42%, 51%) |
| HSV | hsv(259, 57%, 72%) |
| CMYK | cmyk(38.8%, 56.8%, 0%, 28.2%) |
| CIE-LAB | lab(41.93, 37.55, -50.46) |
| CIE-LCH | lch(41.93, 62.90, 306.66°) |
| OKLab | oklab(51.51% 0.0665 -0.1433) |
| OKLCH | oklch(51.51% 0.158 294.9) |
| XYZ | xyz(18.0231, 12.4552, 46.2451) |
| Luminance | 0.1246 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.53
Iris
#6258C4
ΔE00 4.82
Slate Blue
#6A5ACD
ΔE00 5.14
Bluey Purple
#6241C7
ΔE00 5.14
Light Indigo
#6D5ACF
ΔE00 5.15
Ocean Blue
#4F42B5
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#704FB7 #96B74F
analogous
#4F62B7 #704FB7 #A44FB7
triadic
#704FB7 #B7704F #4FB770
tetradic
#704FB7 #B74F62 #96B74F #4FB7A4
square
#704FB7 #B74F62 #96B74F #4FB7A4
split-complementary
#704FB7 #B7A44F #62B74F
monochromatic
#3B2963 #553A8F #704FB7 #937AC9 #B7A6DB
Accessibility & contrast
On white
6.02
#704FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#704FB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #704FB7
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##704FB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##704FB7 | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1964BA
Deuteranopia (green-blind)
#2561B5
Tritanopia (blue-blind)
#5E657B
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #704fb7; /* rgb */ color: rgb(112, 79, 183); /* oklch */ color: oklch(51.5% 0.158 294.9);
Tailwind
colors: {
custom: {
50: '#9d81cd',
500: '#704fb7',
950: '#000000',
},
}SCSS
$custom: #704fb7; $custom-light: #9d81cd; $custom-dark: #000000;
JSON
{
"hex": "#704fb7",
"rgb": {
"r": 112,
"g": 79,
"b": 183
},
"hsl": {
"h": 259.038,
"s": 41.935,
"l": 51.373
},
"oklch": {
"l": 0.51514,
"c": 0.15796,
"h": 294.9
},
"luminance": 0.12456
}Semantic roles & 50–950 ramp
primary
#704FB7
secondary
#B9C89A
accent
#D256AA
background
#FAF8FC
surface
#F3EFF9
border
#CDCAD2
text
#0F0A13
muted
#7F7C82