#94228F#94228F

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

Color values

HEX#94228F
RGBrgb(148, 34, 143)
HSLhsl(303, 63%, 36%)
HSVhsv(303, 77%, 58%)
CMYKcmyk(0%, 77%, 3.4%, 42%)
CIE-LABlab(36.79, 58.22, -34.43)
CIE-LCHlch(36.79, 67.63, 329.40°)
OKLaboklab(48.03% 0.1648 -0.0951)
OKLCHoklch(48.03% 0.19 330)
XYZxyz(17.7426, 9.4245, 26.8659)
Luminance0.0942 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#94228F #229427
analogous
#602294 #94228F #942256
triadic
#94228F #8F9422 #228F94
tetradic
#94228F #946022 #229427 #225694
square
#94228F #946022 #229427 #225694
split-complementary
#94228F #569422 #229460
monochromatic
#300B2F #62175F #94228F #C62DBF #D958D3

Accessibility & contrast

On white

7.28
#94228F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #94228F
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##94228F#FFFFFF#000000##FFFFFF
##94228F1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114D92
Deuteranopia (green-blind)
#455C8C
Tritanopia (blue-blind)
#9A3257
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #94228f;
/* rgb */ color: rgb(148, 34, 143);
/* oklch */ color: oklch(48.0% 0.190 330.0);
Tailwind
colors: {
  custom: {
    50: '#b76bb0',
    500: '#94228f',
    950: '#000000',
  },
}
SCSS
$custom: #94228f;
$custom-light: #b76bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#94228f",
  "rgb": {
    "r": 148,
    "g": 34,
    "b": 143
  },
  "hsl": {
    "h": 302.632,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4803,
    "c": 0.19031,
    "h": 330
  },
  "luminance": 0.09423
}

Semantic roles & 50–950 ramp

primary
#94228F
secondary
#55BD5A
accent
#E64942
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #94228F

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

Preview Lab → · Contrast checker → · Palette generator →

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