#90228E#90228E

#90228E is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.3% C 0.188 H 328.8°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#90228E
RGBrgb(144, 34, 142)
HSLhsl(301, 62%, 35%)
HSVhsv(301, 76%, 56%)
CMYKcmyk(0%, 76.4%, 1.4%, 43.5%)
CIE-LABlab(36.04, 57.17, -35.05)
CIE-LCHlch(36.04, 67.06, 328.49°)
OKLaboklab(47.34% 0.1605 -0.097)
OKLCHoklch(47.34% 0.188 328.8)
XYZxyz(16.9560, 9.0276, 26.4354)
Luminance0.0903 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90228E #229024
analogous
#5B2290 #90228E #902257
triadic
#90228E #8E9022 #228E90
tetradic
#90228E #905B22 #229024 #225790
square
#90228E #905B22 #229024 #225790
split-complementary
#90228E #579022 #22905B
monochromatic
#2D0B2C #5E165D #90228E #C22EBF #D755D5

Accessibility & contrast

On white

7.49
#90228E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#90228E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90228E
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90228E#FFFFFF#000000##FFFFFF
##90228E1.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4C91
Deuteranopia (green-blind)
#425A8B
Tritanopia (blue-blind)
#953357
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #90228e;
/* rgb */ color: rgb(144, 34, 142);
/* oklch */ color: oklch(47.3% 0.188 328.8);
Tailwind
colors: {
  custom: {
    50: '#b46aaf',
    500: '#90228e',
    950: '#000000',
  },
}
SCSS
$custom: #90228e;
$custom-light: #b46aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#90228e",
  "rgb": {
    "r": 144,
    "g": 34,
    "b": 142
  },
  "hsl": {
    "h": 301.091,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47341,
    "c": 0.18755,
    "h": 328.8
  },
  "luminance": 0.09026
}

Semantic roles & 50–950 ramp

primary
#90228E
secondary
#53BB55
accent
#E54643
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #90228E

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

Preview Lab → · Contrast checker → · Palette generator →

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