#9742BC#9742BC
#9742BC is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.4% C 0.192 H 314.0°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #9742BC |
|---|---|
| RGB | rgb(151, 66, 188) |
| HSL | hsl(282, 48%, 50%) |
| HSV | hsv(282, 65%, 74%) |
| CMYK | cmyk(19.7%, 64.9%, 0%, 26.3%) |
| CIE-LAB | lab(44.39, 54.80, -49.19) |
| CIE-LCH | lch(44.39, 73.64, 318.09°) |
| OKLab | oklab(54.44% 0.1335 -0.1383) |
| OKLCH | oklch(54.44% 0.192 314) |
| XYZ | xyz(23.7863, 14.1073, 49.0372) |
| Luminance | 0.1411 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.89
Darkorchid
#9932CC
ΔE00 3.42
Barney
#AC1DB8
ΔE00 5.36
Medium Purple
#9E43A2
ΔE00 5.51
Vibrant Purple
#AD03DE
ΔE00 6.49
Ugly Purple
#A442A0
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9742BC #67BC42
analogous
#5A42BC #9742BC #BC42A4
triadic
#9742BC #BC9742 #42BC97
tetradic
#9742BC #BC5A42 #67BC42 #42A4BC
square
#9742BC #BC5A42 #67BC42 #42A4BC
split-complementary
#9742BC #A4BC42 #42BC5A
monochromatic
#4E2261 #73328F #9742BC #B06FCC #C99CDC
Accessibility & contrast
On white
5.50
#9742BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.82
#9742BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9742BC
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9742BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9742BC | 1.00 | 5.50 | 3.82 | 5.50 |
| #FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0564C0
Deuteranopia (green-blind)
#3C6BB9
Tritanopia (blue-blind)
#945979
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #9742bc; /* rgb */ color: rgb(151, 66, 188); /* oklch */ color: oklch(54.4% 0.192 314.0);
Tailwind
colors: {
custom: {
50: '#b97cd1',
500: '#9742bc',
950: '#000000',
},
}SCSS
$custom: #9742bc; $custom-light: #b97cd1; $custom-dark: #000000;
JSON
{
"hex": "#9742bc",
"rgb": {
"r": 151,
"g": 66,
"b": 188
},
"hsl": {
"h": 281.803,
"s": 48.031,
"l": 49.804
},
"oklch": {
"l": 0.54435,
"c": 0.1922,
"h": 314
},
"luminance": 0.14107
}Semantic roles & 50–950 ramp
primary
#9742BC
secondary
#A2C991
accent
#D85079
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A14
muted
#817C82