#94228B#94228B

#94228B is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.8% C 0.187 H 331.6°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#94228B
RGBrgb(148, 34, 139)
HSLhsl(305, 63%, 36%)
HSVhsv(305, 77%, 58%)
CMYKcmyk(0%, 77%, 6.1%, 42%)
CIE-LABlab(36.57, 57.57, -32.32)
CIE-LCHlch(36.57, 66.03, 330.69°)
OKLaboklab(47.8% 0.1648 -0.089)
OKLCHoklch(47.8% 0.187 331.6)
XYZxyz(17.4450, 9.3055, 25.2984)
Luminance0.0930 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#94228B #22942B
analogous
#642294 #94228B #942252
triadic
#94228B #8B9422 #228B94
tetradic
#94228B #946422 #22942B #225294
square
#94228B #946422 #22942B #225294
split-complementary
#94228B #529422 #229464
monochromatic
#300B2E #62175C #94228B #C62DBA #D958CE

Accessibility & contrast

On white

7.34
#94228B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#94228B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #94228B
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##94228B#FFFFFF#000000##FFFFFF
##94228B1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184C8E
Deuteranopia (green-blind)
#475C88
Tritanopia (blue-blind)
#9A3055
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #94228b;
/* rgb */ color: rgb(148, 34, 139);
/* oklch */ color: oklch(47.8% 0.187 331.6);
Tailwind
colors: {
  custom: {
    50: '#b76bad',
    500: '#94228b',
    950: '#000000',
  },
}
SCSS
$custom: #94228b;
$custom-light: #b76bad;
$custom-dark: #000000;
JSON
{
  "hex": "#94228b",
  "rgb": {
    "r": 148,
    "g": 34,
    "b": 139
  },
  "hsl": {
    "h": 304.737,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47798,
    "c": 0.18728,
    "h": 331.6
  },
  "luminance": 0.09304
}

Semantic roles & 50–950 ramp

primary
#94228B
secondary
#55BD5D
accent
#E64F42
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #94228B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#94228B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva