#702AAF#702AAF
#702AAF is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.9% C 0.197 H 303.2°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #702AAF |
|---|---|
| RGB | rgb(112, 42, 175) |
| HSL | hsl(272, 61%, 43%) |
| HSV | hsv(272, 76%, 69%) |
| CMYK | cmyk(36%, 76%, 0%, 31.4%) |
| CIE-LAB | lab(34.39, 54.48, -57.93) |
| CIE-LCH | lch(34.39, 79.53, 313.24°) |
| OKLab | oklab(45.9% 0.108 -0.1652) |
| OKLCH | oklch(45.9% 0.197 303.2) |
| XYZ | xyz(15.2461, 8.1958, 41.3279) |
| Luminance | 0.0820 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.92
Purple (survey)
#7E1E9C
ΔE00 4.80
Purple Blue
#5D21D0
ΔE00 5.67
Bluey Purple
#6241C7
ΔE00 6.73
Darkviolet
#9400D3
ΔE00 6.95
Blurple
#5539CC
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#702AAF #69AF2A
analogous
#2E2AAF #702AAF #AF2AAB
triadic
#702AAF #AF702A #2AAF70
tetradic
#702AAF #AF2E2A #69AF2A #2AABAF
square
#702AAF #AF2E2A #69AF2A #2AABAF
split-complementary
#702AAF #ABAF2A #2AAF2E
monochromatic
#31124C #501E7E #702AAF #8F44D2 #AC75DE
Accessibility & contrast
On white
7.96
#702AAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#702AAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #702AAF
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##702AAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##702AAF | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0051AC
Tritanopia (blue-blind)
#634C6B
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #702aaf; /* rgb */ color: rgb(112, 42, 175); /* oklch */ color: oklch(45.9% 0.197 303.2);
Tailwind
colors: {
custom: {
50: '#9f6bc8',
500: '#702aaf',
950: '#000000',
},
}SCSS
$custom: #702aaf; $custom-light: #9f6bc8; $custom-dark: #000000;
JSON
{
"hex": "#702aaf",
"rgb": {
"r": 112,
"g": 42,
"b": 175
},
"hsl": {
"h": 271.579,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.45895,
"c": 0.19733,
"h": 303.2
},
"luminance": 0.08196
}Semantic roles & 50–950 ramp
primary
#702AAF
secondary
#98C66F
accent
#E44390
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82