#9742BB#9742BB
#9742BB is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.4% C 0.191 H 314.3°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #9742BB |
|---|---|
| RGB | rgb(151, 66, 187) |
| HSL | hsl(282, 48%, 50%) |
| HSV | hsv(282, 65%, 73%) |
| CMYK | cmyk(19.3%, 64.7%, 0%, 26.7%) |
| CIE-LAB | lab(44.33, 54.59, -48.70) |
| CIE-LCH | lch(44.33, 73.16, 318.26°) |
| OKLab | oklab(54.37% 0.1335 -0.1369) |
| OKLCH | oklch(54.37% 0.191 314.3) |
| XYZ | xyz(23.6789, 14.0643, 48.4714) |
| Luminance | 0.1406 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.73
Darkorchid
#9932CC
ΔE00 3.54
Barney
#AC1DB8
ΔE00 5.30
Medium Purple
#9E43A2
ΔE00 5.35
Ugly Purple
#A442A0
ΔE00 6.50
Vibrant Purple
#AD03DE
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9742BB #66BB42
analogous
#5B42BB #9742BB #BB42A2
triadic
#9742BB #BB9742 #42BB97
tetradic
#9742BB #BB5B42 #66BB42 #42A2BB
square
#9742BB #BB5B42 #66BB42 #42A2BB
split-complementary
#9742BB #A2BB42 #42BB5B
monochromatic
#4E2261 #72328E #9742BB #B06ECC #C99CDC
Accessibility & contrast
On white
5.51
#9742BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#9742BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9742BB
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9742BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9742BB | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0964BF
Deuteranopia (green-blind)
#3D6BB8
Tritanopia (blue-blind)
#945979
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #9742bb; /* rgb */ color: rgb(151, 66, 187); /* oklch */ color: oklch(54.4% 0.191 314.3);
Tailwind
colors: {
custom: {
50: '#b97cd0',
500: '#9742bb',
950: '#000000',
},
}SCSS
$custom: #9742bb; $custom-light: #b97cd0; $custom-dark: #000000;
JSON
{
"hex": "#9742bb",
"rgb": {
"r": 151,
"g": 66,
"b": 187
},
"hsl": {
"h": 282.149,
"s": 47.826,
"l": 49.608
},
"oklch": {
"l": 0.54371,
"c": 0.1912,
"h": 314.3
},
"luminance": 0.14064
}Semantic roles & 50–950 ramp
primary
#9742BB
secondary
#A1C891
accent
#D75079
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A14
muted
#817C82