#94228E#94228E

#94228E is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.190 H 330.4°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#94228E
RGBrgb(148, 34, 142)
HSLhsl(303, 63%, 36%)
HSVhsv(303, 77%, 58%)
CMYKcmyk(0%, 77%, 4.1%, 42%)
CIE-LABlab(36.73, 58.05, -33.90)
CIE-LCHlch(36.73, 67.23, 329.72°)
OKLaboklab(47.97% 0.1648 -0.0936)
OKLCHoklch(47.97% 0.19 330.4)
XYZxyz(17.6672, 9.3944, 26.4687)
Luminance0.0939 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#94228E #229428
analogous
#612294 #94228E #942255
triadic
#94228E #8E9422 #228E94
tetradic
#94228E #946122 #229428 #225594
square
#94228E #946122 #229428 #225594
split-complementary
#94228E #559422 #229461
monochromatic
#300B2E #62175E #94228E #C62DBE #D958D2

Accessibility & contrast

On white

7.30
#94228E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#94228E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #94228E
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##94228E#FFFFFF#000000##FFFFFF
##94228E1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134D91
Deuteranopia (green-blind)
#465C8B
Tritanopia (blue-blind)
#9A3257
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #94228e;
/* rgb */ color: rgb(148, 34, 142);
/* oklch */ color: oklch(48.0% 0.190 330.4);
Tailwind
colors: {
  custom: {
    50: '#b76baf',
    500: '#94228e',
    950: '#000000',
  },
}
SCSS
$custom: #94228e;
$custom-light: #b76baf;
$custom-dark: #000000;
JSON
{
  "hex": "#94228e",
  "rgb": {
    "r": 148,
    "g": 34,
    "b": 142
  },
  "hsl": {
    "h": 303.158,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47971,
    "c": 0.18955,
    "h": 330.4
  },
  "luminance": 0.09393
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #94228E

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

Preview Lab → · Contrast checker → · Palette generator →

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