#90229C#90229C

#90229C is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.2% C 0.199 H 323.6°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#90229C
RGBrgb(144, 34, 156)
HSLhsl(294, 64%, 37%)
HSVhsv(294, 78%, 61%)
CMYKcmyk(7.7%, 78.2%, 0%, 38.8%)
CIE-LABlab(36.88, 59.58, -42.24)
CIE-LCHlch(36.88, 73.03, 324.66°)
OKLaboklab(48.22% 0.1599 -0.118)
OKLCHoklch(48.22% 0.199 323.6)
XYZxyz(18.0738, 9.4748, 32.3229)
Luminance0.0947 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90229C #2E9C22
analogous
#53229C #90229C #9C226B
triadic
#90229C #9C9022 #229C90
tetradic
#90229C #9C5322 #2E9C22 #226B9C
square
#90229C #9C5322 #2E9C22 #226B9C
split-complementary
#90229C #6B9C22 #229C53
monochromatic
#330C38 #62176A #90229C #BE2DCE #CF5DDC

Accessibility & contrast

On white

7.25
#90229C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#90229C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90229C
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90229C#FFFFFF#000000##FFFFFF
##90229C1.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#395B99
Tritanopia (blue-blind)
#923A5F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #90229c;
/* rgb */ color: rgb(144, 34, 156);
/* oklch */ color: oklch(48.2% 0.199 323.6);
Tailwind
colors: {
  custom: {
    50: '#b46bba',
    500: '#90229c',
    950: '#000000',
  },
}
SCSS
$custom: #90229c;
$custom-light: #b46bba;
$custom-dark: #000000;
JSON
{
  "hex": "#90229c",
  "rgb": {
    "r": 144,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 294.098,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48215,
    "c": 0.1987,
    "h": 323.6
  },
  "luminance": 0.09474
}

Semantic roles & 50–950 ramp

primary
#90229C
secondary
#64C05A
accent
#E74151
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #90229C

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

Preview Lab → · Contrast checker → · Palette generator →

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