#942491#942491
#942491 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.190 H 329.2°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #942491 |
|---|---|
| RGB | rgb(148, 36, 145) |
| HSL | hsl(302, 61%, 36%) |
| HSV | hsv(302, 76%, 58%) |
| CMYK | cmyk(0%, 75.7%, 2%, 42%) |
| CIE-LAB | lab(37.12, 57.92, -35.12) |
| CIE-LCH | lch(37.12, 67.74, 328.77°) |
| OKLab | oklab(48.3% 0.1631 -0.0972) |
| OKLCH | oklch(48.3% 0.19 329.2) |
| XYZ | xyz(17.9543, 9.6034, 27.6906) |
| Luminance | 0.0960 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 1.71
Barney Purple
#A00498
ΔE00 2.53
Darkmagenta
#8B008B
ΔE00 3.98
Purple
#800080
ΔE00 5.94
Purple (survey)
#7E1E9C
ΔE00 5.97
Medium Purple
#9E43A2
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942491 #249427
analogous
#5F2494 #942491 #942459
triadic
#942491 #919424 #249194
tetradic
#942491 #945F24 #249427 #245994
square
#942491 #945F24 #249427 #245994
split-complementary
#942491 #599424 #24945F
monochromatic
#320C31 #631861 #942491 #C530C1 #D75BD4
Accessibility & contrast
On white
7.19
#942491 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#942491 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942491
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942491 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942491 | 1.00 | 7.19 | 2.92 | 7.19 |
| #FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#114E94
Deuteranopia (green-blind)
#455C8E
Tritanopia (blue-blind)
#993559
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #942491; /* rgb */ color: rgb(148, 36, 145); /* oklch */ color: oklch(48.3% 0.190 329.2);
Tailwind
colors: {
custom: {
50: '#b76cb2',
500: '#942491',
950: '#000000',
},
}SCSS
$custom: #942491; $custom-light: #b76cb2; $custom-dark: #000000;
JSON
{
"hex": "#942491",
"rgb": {
"r": 148,
"g": 36,
"b": 145
},
"hsl": {
"h": 301.607,
"s": 60.87,
"l": 36.078
},
"oklch": {
"l": 0.48303,
"c": 0.1898,
"h": 329.2
},
"luminance": 0.09602
}Semantic roles & 50–950 ramp
primary
#942491
secondary
#58BC5B
accent
#E44844
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80