#90228D#90228D

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

Color values

HEX#90228D
RGBrgb(144, 34, 141)
HSLhsl(302, 62%, 35%)
HSVhsv(302, 76%, 56%)
CMYKcmyk(0%, 76.4%, 2.1%, 43.5%)
CIE-LABlab(35.98, 57.00, -34.53)
CIE-LCHlch(35.98, 66.64, 328.80°)
OKLaboklab(47.28% 0.1605 -0.0955)
OKLCHoklch(47.28% 0.187 329.2)
XYZxyz(16.8812, 8.9977, 26.0418)
Luminance0.0900 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90228D #229025
analogous
#5C2290 #90228D #902256
triadic
#90228D #8D9022 #228D90
tetradic
#90228D #905C22 #229025 #225690
square
#90228D #905C22 #229025 #225690
split-complementary
#90228D #569022 #22905C
monochromatic
#2D0B2C #5E165D #90228D #C22EBD #D755D3

Accessibility & contrast

On white

7.50
#90228D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#90228D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90228D
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90228D#FFFFFF#000000##FFFFFF
##90228D1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4B90
Deuteranopia (green-blind)
#435A8A
Tritanopia (blue-blind)
#953256
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #90228d;
/* rgb */ color: rgb(144, 34, 141);
/* oklch */ color: oklch(47.3% 0.187 329.2);
Tailwind
colors: {
  custom: {
    50: '#b46aaf',
    500: '#90228d',
    950: '#000000',
  },
}
SCSS
$custom: #90228d;
$custom-light: #b46aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#90228d",
  "rgb": {
    "r": 144,
    "g": 34,
    "b": 141
  },
  "hsl": {
    "h": 301.636,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47282,
    "c": 0.18678,
    "h": 329.2
  },
  "luminance": 0.08996
}

Semantic roles & 50–950 ramp

primary
#90228D
secondary
#53BB56
accent
#E54743
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #90228D

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

Preview Lab → · Contrast checker → · Palette generator →

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