#94228C#94228C

#94228C is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.9% C 0.188 H 331.2°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#94228C
RGBrgb(148, 34, 140)
HSLhsl(304, 63%, 36%)
HSVhsv(304, 77%, 58%)
CMYKcmyk(0%, 77%, 5.4%, 42%)
CIE-LABlab(36.62, 57.73, -32.85)
CIE-LCHlch(36.62, 66.42, 330.36°)
OKLaboklab(47.86% 0.1648 -0.0905)
OKLCHoklch(47.86% 0.188 331.2)
XYZxyz(17.5184, 9.3348, 25.6850)
Luminance0.0933 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#94228C #22942A
analogous
#632294 #94228C #942253
triadic
#94228C #8C9422 #228C94
tetradic
#94228C #946322 #22942A #225394
square
#94228C #946322 #22942A #225394
split-complementary
#94228C #539422 #229463
monochromatic
#300B2E #62175D #94228C #C62DBB #D958D0

Accessibility & contrast

On white

7.33
#94228C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #94228C
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##94228C#FFFFFF#000000##FFFFFF
##94228C1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164C8F
Deuteranopia (green-blind)
#475C89
Tritanopia (blue-blind)
#9A3156
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #94228c;
/* rgb */ color: rgb(148, 34, 140);
/* oklch */ color: oklch(47.9% 0.188 331.2);
Tailwind
colors: {
  custom: {
    50: '#b76bae',
    500: '#94228c',
    950: '#000000',
  },
}
SCSS
$custom: #94228c;
$custom-light: #b76bae;
$custom-dark: #000000;
JSON
{
  "hex": "#94228c",
  "rgb": {
    "r": 148,
    "g": 34,
    "b": 140
  },
  "hsl": {
    "h": 304.211,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47855,
    "c": 0.18804,
    "h": 331.2
  },
  "luminance": 0.09333
}

Semantic roles & 50–950 ramp

primary
#94228C
secondary
#55BD5C
accent
#E64E42
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #94228C

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

Preview Lab → · Contrast checker → · Palette generator →

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