#705AC7#705AC7
#705AC7 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.5% C 0.163 H 289.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #705AC7 |
|---|---|
| RGB | rgb(112, 90, 199) |
| HSL | hsl(252, 49%, 57%) |
| HSV | hsv(252, 55%, 78%) |
| CMYK | cmyk(43.7%, 54.8%, 0%, 22%) |
| CIE-LAB | lab(45.47, 35.60, -54.07) |
| CIE-LCH | lch(45.47, 64.74, 303.36°) |
| OKLab | oklab(54.46% 0.0534 -0.1539) |
| OKLCH | oklch(54.46% 0.163 289.1) |
| XYZ | xyz(20.6442, 14.8799, 55.8061) |
| Luminance | 0.1488 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 1.42
Slate Blue
#6A5ACD
ΔE00 1.56
Iris
#6258C4
ΔE00 2.71
Dark Periwinkle
#665FD1
ΔE00 3.15
Purpley
#8756E4
ΔE00 5.79
Royal Purple
#7851A9
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#705AC7 #B1C75A
analogous
#5A7BC7 #705AC7 #A75AC7
triadic
#705AC7 #C7705A #5AC770
tetradic
#705AC7 #C75A7B #B1C75A #5AC7A7
square
#705AC7 #C75A7B #B1C75A #5AC7A7
split-complementary
#705AC7 #C7A75A #7BC75A
monochromatic
#3B2A7C #503AAA #705AC7 #9888D7 #BFB5E6
Accessibility & contrast
On white
5.28
#705AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#705AC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #705AC7
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##705AC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##705AC7 | 1.00 | 5.28 | 3.98 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#216ECB
Deuteranopia (green-blind)
#2469C5
Tritanopia (blue-blind)
#567288
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #705ac7; /* rgb */ color: rgb(112, 90, 199); /* oklch */ color: oklch(54.5% 0.163 289.1);
Tailwind
colors: {
custom: {
50: '#9e89d9',
500: '#705ac7',
950: '#000000',
},
}SCSS
$custom: #705ac7; $custom-light: #9e89d9; $custom-dark: #000000;
JSON
{
"hex": "#705ac7",
"rgb": {
"r": 112,
"g": 90,
"b": 199
},
"hsl": {
"h": 252.11,
"s": 49.321,
"l": 56.667
},
"oklch": {
"l": 0.54458,
"c": 0.16291,
"h": 289.1
},
"luminance": 0.14881
}Semantic roles & 50–950 ramp
primary
#705AC7
secondary
#CCD5A8
accent
#D94FBD
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0B15
muted
#7F7C83