#90228A#90228A

#90228A is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.1% C 0.184 H 330.5°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#90228A
RGBrgb(144, 34, 138)
HSLhsl(303, 62%, 35%)
HSVhsv(303, 76%, 56%)
CMYKcmyk(0%, 76.4%, 4.2%, 43.5%)
CIE-LABlab(35.81, 56.51, -32.95)
CIE-LCHlch(35.81, 65.41, 329.76°)
OKLaboklab(47.11% 0.1605 -0.0909)
OKLCHoklch(47.11% 0.184 330.5)
XYZxyz(16.6610, 8.9096, 24.8821)
Luminance0.0891 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90228A #229028
analogous
#5F2290 #90228A #902253
triadic
#90228A #8A9022 #228A90
tetradic
#90228A #905F22 #229028 #225390
square
#90228A #905F22 #229028 #225390
split-complementary
#90228A #539022 #22905F
monochromatic
#2D0B2B #5E165B #90228A #C22EB9 #D755D0

Accessibility & contrast

On white

7.55
#90228A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#90228A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90228A
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90228A#FFFFFF#000000##FFFFFF
##90228A1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144B8D
Deuteranopia (green-blind)
#445987
Tritanopia (blue-blind)
#963154
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #90228a;
/* rgb */ color: rgb(144, 34, 138);
/* oklch */ color: oklch(47.1% 0.184 330.5);
Tailwind
colors: {
  custom: {
    50: '#b46aac',
    500: '#90228a',
    950: '#000000',
  },
}
SCSS
$custom: #90228a;
$custom-light: #b46aac;
$custom-dark: #000000;
JSON
{
  "hex": "#90228a",
  "rgb": {
    "r": 144,
    "g": 34,
    "b": 138
  },
  "hsl": {
    "h": 303.273,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47105,
    "c": 0.18446,
    "h": 330.5
  },
  "luminance": 0.08908
}

Semantic roles & 50–950 ramp

primary
#90228A
secondary
#53BB59
accent
#E54C43
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #90228A

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

Preview Lab → · Contrast checker → · Palette generator →

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