#732FA8#732FA8
#732FA8 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.3% C 0.185 H 306.0°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #732FA8 |
|---|---|
| RGB | rgb(115, 47, 168) |
| HSL | hsl(274, 56%, 42%) |
| HSV | hsv(274, 72%, 66%) |
| CMYK | cmyk(31.5%, 72%, 0%, 34.1%) |
| CIE-LAB | lab(35.01, 51.23, -52.71) |
| CIE-LCH | lch(35.01, 73.51, 314.18°) |
| OKLab | oklab(46.26% 0.1088 -0.1497) |
| OKLCH | oklch(46.26% 0.185 306) |
| XYZ | xyz(15.1531, 8.5052, 37.8816) |
| Luminance | 0.0851 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.10
Purple (survey)
#7E1E9C
ΔE00 4.01
Purple Blue
#5D21D0
ΔE00 7.21
Bluey Purple
#6241C7
ΔE00 7.26
Darkviolet
#9400D3
ΔE00 7.40
Blurple
#5539CC
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#732FA8 #64A82F
analogous
#372FA8 #732FA8 #A82FA1
triadic
#732FA8 #A8732F #2FA873
tetradic
#732FA8 #A8372F #64A82F #2FA1A8
square
#732FA8 #A8372F #64A82F #2FA1A8
split-complementary
#732FA8 #A1A82F #2FA837
monochromatic
#321448 #522278 #732FA8 #9248CC #AF78D9
Accessibility & contrast
On white
7.77
#732FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#732FA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #732FA8
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##732FA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##732FA8 | 1.00 | 7.77 | 2.70 | 7.77 |
| #FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050AC
Deuteranopia (green-blind)
#0053A5
Tritanopia (blue-blind)
#6A4B68
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #732fa8; /* rgb */ color: rgb(115, 47, 168); /* oklch */ color: oklch(46.3% 0.185 306.0);
Tailwind
colors: {
custom: {
50: '#a06ec3',
500: '#732fa8',
950: '#000000',
},
}SCSS
$custom: #732fa8; $custom-light: #a06ec3; $custom-dark: #000000;
JSON
{
"hex": "#732fa8",
"rgb": {
"r": 115,
"g": 47,
"b": 168
},
"hsl": {
"h": 273.719,
"s": 56.279,
"l": 42.157
},
"oklch": {
"l": 0.46255,
"c": 0.18509,
"h": 306
},
"luminance": 0.08505
}Semantic roles & 50–950 ramp
primary
#732FA8
secondary
#94C171
accent
#E0488B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81