#732FB2#732FB2
#732FB2 is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.0% C 0.196 H 303.2°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #732FB2 |
|---|---|
| RGB | rgb(115, 47, 178) |
| HSL | hsl(271, 58%, 44%) |
| HSV | hsv(271, 74%, 70%) |
| CMYK | cmyk(35.4%, 73.6%, 0%, 30.2%) |
| CIE-LAB | lab(35.78, 53.60, -57.44) |
| CIE-LCH | lch(35.78, 78.56, 313.02°) |
| OKLab | oklab(47.03% 0.107 -0.1636) |
| OKLCH | oklch(47.03% 0.196 303.2) |
| XYZ | xyz(16.1207, 8.8922, 42.9779) |
| Luminance | 0.0889 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.22
Purple (survey)
#7E1E9C
ΔE00 5.17
Purple Blue
#5D21D0
ΔE00 5.92
Bluey Purple
#6241C7
ΔE00 6.06
Darkviolet
#9400D3
ΔE00 6.51
Blurple
#5539CC
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#732FB2 #6EB22F
analogous
#322FB2 #732FB2 #B22FB0
triadic
#732FB2 #B2732F #2FB273
tetradic
#732FB2 #B2322F #6EB22F #2FB0B2
square
#732FB2 #B2322F #6EB22F #2FB0B2
split-complementary
#732FB2 #B0B22F #2FB232
monochromatic
#341551 #542282 #732FB2 #924ED0 #B07EDD
Accessibility & contrast
On white
7.56
#732FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#732FB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #732FB2
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##732FB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##732FB2 | 1.00 | 7.56 | 2.78 | 7.56 |
| #FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#0054AF
Tritanopia (blue-blind)
#664F6E
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #732fb2; /* rgb */ color: rgb(115, 47, 178); /* oklch */ color: oklch(47.0% 0.196 303.2);
Tailwind
colors: {
custom: {
50: '#a16eca',
500: '#732fb2',
950: '#000000',
},
}SCSS
$custom: #732fb2; $custom-light: #a16eca; $custom-dark: #000000;
JSON
{
"hex": "#732fb2",
"rgb": {
"r": 115,
"g": 47,
"b": 178
},
"hsl": {
"h": 271.145,
"s": 58.222,
"l": 44.118
},
"oklch": {
"l": 0.47034,
"c": 0.1955,
"h": 303.2
},
"luminance": 0.08892
}Semantic roles & 50–950 ramp
primary
#732FB2
secondary
#9DC677
accent
#E14691
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82