#702FB3#702FB3
#702FB3 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.8% C 0.196 H 301.5°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #702FB3 |
|---|---|
| RGB | rgb(112, 47, 179) |
| HSL | hsl(270, 58%, 44%) |
| HSV | hsv(270, 74%, 70%) |
| CMYK | cmyk(37.4%, 73.7%, 0%, 29.8%) |
| CIE-LAB | lab(35.46, 53.29, -58.56) |
| CIE-LCH | lch(35.46, 79.18, 312.30°) |
| OKLab | oklab(46.75% 0.1025 -0.167) |
| OKLCH | oklch(46.75% 0.196 301.5) |
| XYZ | xyz(15.8333, 8.7324, 43.4904) |
| Luminance | 0.0873 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.21
Purple Blue
#5D21D0
ΔE00 5.43
Purple (survey)
#7E1E9C
ΔE00 5.60
Bluey Purple
#6241C7
ΔE00 5.70
Blurple
#5539CC
ΔE00 6.22
Blue With A Hint Of Purple
#533CC6
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#702FB3 #72B32F
analogous
#2F30B3 #702FB3 #B22FB3
triadic
#702FB3 #B3702F #2FB370
tetradic
#702FB3 #B32F30 #72B32F #2FB3B2
square
#702FB3 #B32F30 #72B32F #2FB3B2
split-complementary
#702FB3 #B3B22F #30B32F
monochromatic
#331652 #522283 #702FB3 #8F4FD1 #AD7FDD
Accessibility & contrast
On white
7.65
#702FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#702FB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #702FB3
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##702FB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##702FB3 | 1.00 | 7.65 | 2.75 | 7.65 |
| #FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#61506E
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #702fb3; /* rgb */ color: rgb(112, 47, 179); /* oklch */ color: oklch(46.8% 0.196 301.5);
Tailwind
colors: {
custom: {
50: '#9f6ecb',
500: '#702fb3',
950: '#000000',
},
}SCSS
$custom: #702fb3; $custom-light: #9f6ecb; $custom-dark: #000000;
JSON
{
"hex": "#702fb3",
"rgb": {
"r": 112,
"g": 47,
"b": 179
},
"hsl": {
"h": 269.545,
"s": 58.407,
"l": 44.314
},
"oklch": {
"l": 0.46754,
"c": 0.19598,
"h": 301.5
},
"luminance": 0.08732
}Semantic roles & 50–950 ramp
primary
#702FB3
secondary
#9FC678
accent
#E24695
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82