#722CA1#722CA1
#722CA1 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.3% C 0.181 H 308.0°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #722CA1 |
|---|---|
| RGB | rgb(114, 44, 161) |
| HSL | hsl(276, 57%, 40%) |
| HSV | hsv(276, 73%, 63%) |
| CMYK | cmyk(29.2%, 72.7%, 0%, 36.9%) |
| CIE-LAB | lab(33.88, 50.74, -50.34) |
| CIE-LCH | lch(33.88, 71.47, 315.23°) |
| OKLab | oklab(45.26% 0.1116 -0.1428) |
| OKLCH | oklch(45.26% 0.181 308) |
| XYZ | xyz(14.2718, 7.9522, 34.4944) |
| Luminance | 0.0795 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.69
Purple (survey)
#7E1E9C
ΔE00 3.16
Darkmagenta
#8B008B
ΔE00 7.73
Purple Blue
#5D21D0
ΔE00 7.99
Darkviolet
#9400D3
ΔE00 8.16
Purple
#800080
ΔE00 8.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#722CA1 #5BA12C
analogous
#372CA1 #722CA1 #A12C96
triadic
#722CA1 #A1722C #2CA172
tetradic
#722CA1 #A1372C #5BA12C #2C96A1
square
#722CA1 #A1372C #5BA12C #2C96A1
split-complementary
#722CA1 #96A12C #2CA137
monochromatic
#2E1241 #501F71 #722CA1 #9340CB #AE70D8
Accessibility & contrast
On white
8.11
#722CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#722CA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #722CA1
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##722CA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##722CA1 | 1.00 | 8.11 | 2.59 | 8.11 |
| #FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA4
Deuteranopia (green-blind)
#07509F
Tritanopia (blue-blind)
#6B4764
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #722ca1; /* rgb */ color: rgb(114, 44, 161); /* oklch */ color: oklch(45.3% 0.181 308.0);
Tailwind
colors: {
custom: {
50: '#9f6cbe',
500: '#722ca1',
950: '#000000',
},
}SCSS
$custom: #722ca1; $custom-light: #9f6cbe; $custom-dark: #000000;
JSON
{
"hex": "#722ca1",
"rgb": {
"r": 114,
"g": 44,
"b": 161
},
"hsl": {
"h": 275.897,
"s": 57.073,
"l": 40.196
},
"oklch": {
"l": 0.45259,
"c": 0.18123,
"h": 308
},
"luminance": 0.07952
}Semantic roles & 50–950 ramp
primary
#722CA1
secondary
#8CBF6A
accent
#E04785
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81