#942192#942192
#942192 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.194 H 328.9°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #942192 |
|---|---|
| RGB | rgb(148, 33, 146) |
| HSL | hsl(301, 64%, 35%) |
| HSV | hsv(301, 78%, 58%) |
| CMYK | cmyk(0%, 77.7%, 1.4%, 42%) |
| CIE-LAB | lab(36.86, 59.01, -36.16) |
| CIE-LCH | lch(36.86, 69.21, 328.50°) |
| OKLab | oklab(48.13% 0.1657 -0.1001) |
| OKLCH | oklch(48.13% 0.194 328.9) |
| XYZ | xyz(17.9447, 9.4603, 28.0694) |
| Luminance | 0.0946 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.15
Barney Purple
#A00498
ΔE00 2.30
Darkmagenta
#8B008B
ΔE00 3.64
Purple (survey)
#7E1E9C
ΔE00 5.66
Purple
#800080
ΔE00 5.70
Barney
#AC1DB8
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942192 #219423
analogous
#5C2194 #942192 #942159
triadic
#942192 #929421 #219294
tetradic
#942192 #945C21 #219423 #215994
square
#942192 #945C21 #219423 #215994
split-complementary
#942192 #599421 #21945C
monochromatic
#300B2F #621661 #942192 #C62CC3 #D956D7
Accessibility & contrast
On white
7.26
#942192 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#942192 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942192
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942192 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942192 | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#074D95
Deuteranopia (green-blind)
#435C8F
Tritanopia (blue-blind)
#993359
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #942192; /* rgb */ color: rgb(148, 33, 146); /* oklch */ color: oklch(48.1% 0.194 328.9);
Tailwind
colors: {
custom: {
50: '#b76ab2',
500: '#942192',
950: '#000000',
},
}SCSS
$custom: #942192; $custom-light: #b76ab2; $custom-dark: #000000;
JSON
{
"hex": "#942192",
"rgb": {
"r": 148,
"g": 33,
"b": 146
},
"hsl": {
"h": 301.043,
"s": 63.536,
"l": 35.49
},
"oklch": {
"l": 0.48133,
"c": 0.19359,
"h": 328.9
},
"luminance": 0.09459
}Semantic roles & 50–950 ramp
primary
#942192
secondary
#54BD55
accent
#E74441
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80