#942296#942296
#942296 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.4% C 0.196 H 327.3°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #942296 |
|---|---|
| RGB | rgb(148, 34, 150) |
| HSL | hsl(299, 63%, 36%) |
| HSV | hsv(299, 77%, 59%) |
| CMYK | cmyk(1.3%, 77.3%, 0%, 41.2%) |
| CIE-LAB | lab(37.19, 59.38, -38.06) |
| CIE-LCH | lch(37.19, 70.53, 327.34°) |
| OKLab | oklab(48.45% 0.1647 -0.1057) |
| OKLCH | oklch(48.45% 0.196 327.3) |
| XYZ | xyz(18.2895, 9.6433, 29.7463) |
| Luminance | 0.0964 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 2.34
Warm Purple
#952E8F
ΔE00 2.48
Darkmagenta
#8B008B
ΔE00 3.87
Purple (survey)
#7E1E9C
ΔE00 5.25
Purple
#800080
ΔE00 6.01
Barney
#AC1DB8
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942296 #249622
analogous
#5A2296 #942296 #96225E
triadic
#942296 #969422 #229694
tetradic
#942296 #965A22 #249622 #225E96
square
#942296 #965A22 #249622 #225E96
split-complementary
#942296 #5E9622 #22965A
monochromatic
#320B32 #631764 #942296 #C52DC8 #D759D9
Accessibility & contrast
On white
7.17
#942296 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#942296 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942296
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942296 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942296 | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E99
Deuteranopia (green-blind)
#415C93
Tritanopia (blue-blind)
#98365B
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #942296; /* rgb */ color: rgb(148, 34, 150); /* oklch */ color: oklch(48.4% 0.196 327.3);
Tailwind
colors: {
custom: {
50: '#b76bb5',
500: '#942296',
950: '#000000',
},
}SCSS
$custom: #942296; $custom-light: #b76bb5; $custom-dark: #000000;
JSON
{
"hex": "#942296",
"rgb": {
"r": 148,
"g": 34,
"b": 150
},
"hsl": {
"h": 298.966,
"s": 63.043,
"l": 36.078
},
"oklch": {
"l": 0.48449,
"c": 0.19571,
"h": 327.3
},
"luminance": 0.09642
}Semantic roles & 50–950 ramp
primary
#942296
secondary
#58BE56
accent
#E64245
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80