#942397#942397
#942397 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.6% C 0.196 H 326.9°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #942397 |
|---|---|
| RGB | rgb(148, 35, 151) |
| HSL | hsl(298, 62%, 36%) |
| HSV | hsv(298, 77%, 59%) |
| CMYK | cmyk(2%, 76.8%, 0%, 40.8%) |
| CIE-LAB | lab(37.36, 59.24, -38.40) |
| CIE-LCH | lch(37.36, 70.60, 327.05°) |
| OKLab | oklab(48.59% 0.1638 -0.1067) |
| OKLCH | oklch(48.59% 0.196 326.9) |
| XYZ | xyz(18.3994, 9.7336, 30.1818) |
| Luminance | 0.0973 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 2.43
Warm Purple
#952E8F
ΔE00 2.52
Darkmagenta
#8B008B
ΔE00 4.03
Purple (survey)
#7E1E9C
ΔE00 5.21
Barney
#AC1DB8
ΔE00 6.09
Purple
#800080
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942397 #269723
analogous
#5A2397 #942397 #972360
triadic
#942397 #979423 #239794
tetradic
#942397 #975A23 #269723 #236097
square
#942397 #975A23 #269723 #236097
split-complementary
#942397 #609723 #23975A
monochromatic
#330C34 #631765 #942397 #C52FC9 #D65BD9
Accessibility & contrast
On white
7.13
#942397 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#942397 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942397
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942397 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942397 | 1.00 | 7.13 | 2.95 | 7.13 |
| #FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9A
Deuteranopia (green-blind)
#415D94
Tritanopia (blue-blind)
#98375C
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #942397; /* rgb */ color: rgb(148, 35, 151); /* oklch */ color: oklch(48.6% 0.196 326.9);
Tailwind
colors: {
custom: {
50: '#b76bb6',
500: '#942397',
950: '#000000',
},
}SCSS
$custom: #942397; $custom-light: #b76bb6; $custom-dark: #000000;
JSON
{
"hex": "#942397",
"rgb": {
"r": 148,
"g": 35,
"b": 151
},
"hsl": {
"h": 298.448,
"s": 62.366,
"l": 36.471
},
"oklch": {
"l": 0.48586,
"c": 0.19551,
"h": 326.9
},
"luminance": 0.09732
}Semantic roles & 50–950 ramp
primary
#942397
secondary
#5BBE58
accent
#E54247
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120811
muted
#817A80