#90228B#90228B

#90228B is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.2% C 0.185 H 330.1°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#90228B
RGBrgb(144, 34, 139)
HSLhsl(303, 62%, 35%)
HSVhsv(303, 76%, 56%)
CMYKcmyk(0%, 76.4%, 3.5%, 43.5%)
CIE-LABlab(35.87, 56.67, -33.48)
CIE-LCHlch(35.87, 65.82, 329.43°)
OKLaboklab(47.16% 0.1605 -0.0925)
OKLCHoklch(47.16% 0.185 330.1)
XYZxyz(16.7337, 8.9387, 25.2651)
Luminance0.0894 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90228B #229027
analogous
#5E2290 #90228B #902254
triadic
#90228B #8B9022 #228B90
tetradic
#90228B #905E22 #229027 #225490
square
#90228B #905E22 #229027 #225490
split-complementary
#90228B #549022 #22905E
monochromatic
#2D0B2B #5E165B #90228B #C22EBB #D755D1

Accessibility & contrast

On white

7.53
#90228B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#90228B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90228B
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90228B#FFFFFF#000000##FFFFFF
##90228B1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134B8E
Deuteranopia (green-blind)
#445A88
Tritanopia (blue-blind)
#963155
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #90228b;
/* rgb */ color: rgb(144, 34, 139);
/* oklch */ color: oklch(47.2% 0.185 330.1);
Tailwind
colors: {
  custom: {
    50: '#b46aad',
    500: '#90228b',
    950: '#000000',
  },
}
SCSS
$custom: #90228b;
$custom-light: #b46aad;
$custom-dark: #000000;
JSON
{
  "hex": "#90228b",
  "rgb": {
    "r": 144,
    "g": 34,
    "b": 139
  },
  "hsl": {
    "h": 302.727,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47164,
    "c": 0.18524,
    "h": 330.1
  },
  "luminance": 0.08937
}

Semantic roles & 50–950 ramp

primary
#90228B
secondary
#53BB58
accent
#E54A43
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #90228B

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

Preview Lab → · Contrast checker → · Palette generator →

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