#9749B2#9749B2
#9749B2 is a mid, vivid purple. Relative luminance 0.146; OKLCH L 54.7% C 0.172 H 316.6°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #9749B2 |
|---|---|
| RGB | rgb(151, 73, 178) |
| HSL | hsl(285, 42%, 49%) |
| HSV | hsv(285, 59%, 70%) |
| CMYK | cmyk(15.2%, 59%, 0%, 30.2%) |
| CIE-LAB | lab(45.02, 49.35, -42.31) |
| CIE-LCH | lch(45.02, 65.00, 319.39°) |
| OKLab | oklab(54.71% 0.1248 -0.1182) |
| OKLCH | oklch(54.71% 0.172 316.6) |
| XYZ | xyz(23.1797, 14.5596, 43.7001) |
| Luminance | 0.1456 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.09
Medium Purple
#9E43A2
ΔE00 3.88
Ugly Purple
#A442A0
ΔE00 5.07
Darkorchid
#9932CC
ΔE00 5.74
Deep Lavender
#8D5EB7
ΔE00 5.84
Amethyst
#9B5FC0
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9749B2 #64B249
analogous
#6249B2 #9749B2 #B24999
triadic
#9749B2 #B29749 #49B297
tetradic
#9749B2 #B26249 #64B249 #4999B2
square
#9749B2 #B26249 #64B249 #4999B2
split-complementary
#9749B2 #99B249 #49B262
monochromatic
#4D255B #723787 #9749B2 #B073C5 #C99ED7
Accessibility & contrast
On white
5.37
#9749B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#9749B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9749B2
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9749B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9749B2 | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D66B5
Deuteranopia (green-blind)
#4B6DAF
Tritanopia (blue-blind)
#965B77
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #9749b2; /* rgb */ color: rgb(151, 73, 178); /* oklch */ color: oklch(54.7% 0.172 316.6);
Tailwind
colors: {
custom: {
50: '#b880c9',
500: '#9749b2',
950: '#000000',
},
}SCSS
$custom: #9749b2; $custom-light: #b880c9; $custom-dark: #000000;
JSON
{
"hex": "#9749b2",
"rgb": {
"r": 151,
"g": 73,
"b": 178
},
"hsl": {
"h": 284.571,
"s": 41.833,
"l": 49.216
},
"oklch": {
"l": 0.54708,
"c": 0.17195,
"h": 316.6
},
"luminance": 0.14559
}Semantic roles & 50–950 ramp
primary
#9749B2
secondary
#A0C493
accent
#D25676
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120A13
muted
#817C82