#94228D#94228D

#94228D is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.9% C 0.189 H 330.8°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#94228D
RGBrgb(148, 34, 141)
HSLhsl(304, 63%, 36%)
HSVhsv(304, 77%, 58%)
CMYKcmyk(0%, 77%, 4.7%, 42%)
CIE-LABlab(36.68, 57.89, -33.38)
CIE-LCHlch(36.68, 66.83, 330.04°)
OKLaboklab(47.91% 0.1648 -0.0921)
OKLCHoklch(47.91% 0.189 330.8)
XYZxyz(17.5925, 9.3645, 26.0751)
Luminance0.0936 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#94228D #229429
analogous
#622294 #94228D #942254
triadic
#94228D #8D9422 #228D94
tetradic
#94228D #946222 #229429 #225494
square
#94228D #946222 #229429 #225494
split-complementary
#94228D #549422 #229462
monochromatic
#300B2E #62175E #94228D #C62DBC #D958D1

Accessibility & contrast

On white

7.31
#94228D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#94228D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #94228D
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##94228D#FFFFFF#000000##FFFFFF
##94228D1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154C90
Deuteranopia (green-blind)
#465C8A
Tritanopia (blue-blind)
#9A3156
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #94228d;
/* rgb */ color: rgb(148, 34, 141);
/* oklch */ color: oklch(47.9% 0.189 330.8);
Tailwind
colors: {
  custom: {
    50: '#b76baf',
    500: '#94228d',
    950: '#000000',
  },
}
SCSS
$custom: #94228d;
$custom-light: #b76baf;
$custom-dark: #000000;
JSON
{
  "hex": "#94228d",
  "rgb": {
    "r": 148,
    "g": 34,
    "b": 141
  },
  "hsl": {
    "h": 303.684,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47913,
    "c": 0.18878,
    "h": 330.8
  },
  "luminance": 0.09363
}

Semantic roles & 50–950 ramp

primary
#94228D
secondary
#55BD5B
accent
#E64C42
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #94228D

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

Preview Lab → · Contrast checker → · Palette generator →

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