#90229F#90229F

#90229F is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.4% C 0.201 H 322.5°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#90229F
RGBrgb(144, 34, 159)
HSLhsl(293, 65%, 38%)
HSVhsv(293, 79%, 62%)
CMYKcmyk(9.4%, 78.6%, 0%, 37.6%)
CIE-LABlab(37.07, 60.12, -43.75)
CIE-LCHlch(37.07, 74.35, 323.95°)
OKLaboklab(48.41% 0.1596 -0.1224)
OKLCHoklch(48.41% 0.201 322.5)
XYZxyz(18.3310, 9.5776, 33.6773)
Luminance0.0958 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90229F #319F22
analogous
#51229F #90229F #9F226F
triadic
#90229F #9F9022 #229F90
tetradic
#90229F #9F5122 #319F22 #226F9F
square
#90229F #9F5122 #319F22 #226F9F
split-complementary
#90229F #6F9F22 #229F51
monochromatic
#350C3A #62176D #90229F #BE2DD1 #CE5FDD

Accessibility & contrast

On white

7.20
#90229F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#90229F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90229F
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90229F#FFFFFF#000000##FFFFFF
##90229F1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#365B9C
Tritanopia (blue-blind)
#923B60
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #90229f;
/* rgb */ color: rgb(144, 34, 159);
/* oklch */ color: oklch(48.4% 0.201 322.5);
Tailwind
colors: {
  custom: {
    50: '#b46bbc',
    500: '#90229f',
    950: '#000000',
  },
}
SCSS
$custom: #90229f;
$custom-light: #b46bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#90229f",
  "rgb": {
    "r": 144,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 292.8,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48411,
    "c": 0.20113,
    "h": 322.5
  },
  "luminance": 0.09577
}

Semantic roles & 50–950 ramp

primary
#90229F
secondary
#68C15B
accent
#E84054
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #90229F

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

Preview Lab → · Contrast checker → · Palette generator →

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