#732BA2#732BA2
#732BA2 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.4% C 0.184 H 308.3°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #732BA2 |
|---|---|
| RGB | rgb(115, 43, 162) |
| HSL | hsl(276, 58%, 40%) |
| HSV | hsv(276, 73%, 64%) |
| CMYK | cmyk(29%, 73.5%, 0%, 36.5%) |
| CIE-LAB | lab(33.94, 51.61, -50.83) |
| CIE-LCH | lch(33.94, 72.44, 315.43°) |
| OKLab | oklab(45.36% 0.1139 -0.1442) |
| OKLCH | oklch(45.36% 0.184 308.3) |
| XYZ | xyz(14.4543, 7.9815, 34.9545) |
| Luminance | 0.0798 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 2.94
Purple (survey)
#7E1E9C
ΔE00 3.01
Darkmagenta
#8B008B
ΔE00 7.63
Purple Blue
#5D21D0
ΔE00 7.91
Darkviolet
#9400D3
ΔE00 7.94
Purple
#800080
ΔE00 8.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#732BA2 #5AA22B
analogous
#382BA2 #732BA2 #A22B95
triadic
#732BA2 #A2732B #2BA273
tetradic
#732BA2 #A2382B #5AA22B #2B95A2
square
#732BA2 #A2382B #5AA22B #2B95A2
split-complementary
#732BA2 #95A22B #2BA238
monochromatic
#2E1141 #511E72 #732BA2 #943ECC #AF6FD9
Accessibility & contrast
On white
8.09
#732BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#732BA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #732BA2
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##732BA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##732BA2 | 1.00 | 8.09 | 2.60 | 8.09 |
| #FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#05519F
Tritanopia (blue-blind)
#6C4764
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #732ba2; /* rgb */ color: rgb(115, 43, 162); /* oklch */ color: oklch(45.4% 0.184 308.3);
Tailwind
colors: {
custom: {
50: '#a06bbe',
500: '#732ba2',
950: '#000000',
},
}SCSS
$custom: #732ba2; $custom-light: #a06bbe; $custom-dark: #000000;
JSON
{
"hex": "#732ba2",
"rgb": {
"r": 115,
"g": 43,
"b": 162
},
"hsl": {
"h": 276.303,
"s": 58.049,
"l": 40.196
},
"oklch": {
"l": 0.45355,
"c": 0.18373,
"h": 308.3
},
"luminance": 0.07981
}Semantic roles & 50–950 ramp
primary
#732BA2
secondary
#8BC069
accent
#E14784
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81