#9746BB#9746BB
#9746BB is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.9% C 0.186 H 313.9°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #9746BB |
|---|---|
| RGB | rgb(151, 70, 187) |
| HSL | hsl(282, 46%, 50%) |
| HSV | hsv(282, 63%, 73%) |
| CMYK | cmyk(19.3%, 62.6%, 0%, 26.7%) |
| CIE-LAB | lab(45.01, 52.71, -47.61) |
| CIE-LCH | lch(45.01, 71.03, 317.91°) |
| OKLab | oklab(54.86% 0.1287 -0.1337) |
| OKLCH | oklch(54.86% 0.186 313.9) |
| XYZ | xyz(23.9208, 14.5482, 48.5521) |
| Luminance | 0.1455 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.15
Darkorchid
#9932CC
ΔE00 4.17
Medium Purple
#9E43A2
ΔE00 5.31
Barney
#AC1DB8
ΔE00 5.90
Deep Lavender
#8D5EB7
ΔE00 6.24
Ugly Purple
#A442A0
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9746BB #6ABB46
analogous
#5C46BB #9746BB #BB46A5
triadic
#9746BB #BB9746 #46BB97
tetradic
#9746BB #BB5C46 #6ABB46 #46A5BB
square
#9746BB #BB5C46 #6ABB46 #46A5BB
split-complementary
#9746BB #A5BB46 #46BB5C
monochromatic
#4F2462 #73358F #9746BB #B073CB #C9A0DC
Accessibility & contrast
On white
5.37
#9746BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#9746BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9746BB
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9746BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9746BB | 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)
#1966BF
Deuteranopia (green-blind)
#416CB8
Tritanopia (blue-blind)
#945C7A
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #9746bb; /* rgb */ color: rgb(151, 70, 187); /* oklch */ color: oklch(54.9% 0.186 313.9);
Tailwind
colors: {
custom: {
50: '#b97ed0',
500: '#9746bb',
950: '#000000',
},
}SCSS
$custom: #9746bb; $custom-light: #b97ed0; $custom-dark: #000000;
JSON
{
"hex": "#9746bb",
"rgb": {
"r": 151,
"g": 70,
"b": 187
},
"hsl": {
"h": 281.538,
"s": 46.245,
"l": 50.392
},
"oklch": {
"l": 0.54865,
"c": 0.18559,
"h": 313.9
},
"luminance": 0.14547
}Semantic roles & 50–950 ramp
primary
#9746BB
secondary
#A4C894
accent
#D6527B
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A14
muted
#817C82