#90228C#90228C

#90228C is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.2% C 0.186 H 329.7°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#90228C
RGBrgb(144, 34, 140)
HSLhsl(302, 62%, 35%)
HSVhsv(302, 76%, 56%)
CMYKcmyk(0%, 76.4%, 2.8%, 43.5%)
CIE-LABlab(35.92, 56.84, -34.00)
CIE-LCHlch(35.92, 66.23, 329.11°)
OKLaboklab(47.22% 0.1605 -0.094)
OKLCHoklch(47.22% 0.186 329.7)
XYZxyz(16.8071, 8.9681, 25.6517)
Luminance0.0897 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90228C #229026
analogous
#5D2290 #90228C #902255
triadic
#90228C #8C9022 #228C90
tetradic
#90228C #905D22 #229026 #225590
square
#90228C #905D22 #229026 #225590
split-complementary
#90228C #559022 #22905D
monochromatic
#2D0B2C #5E165C #90228C #C22EBC #D755D2

Accessibility & contrast

On white

7.52
#90228C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #90228C
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90228C#FFFFFF#000000##FFFFFF
##90228C1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114B8F
Deuteranopia (green-blind)
#435A89
Tritanopia (blue-blind)
#953256
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #90228c;
/* rgb */ color: rgb(144, 34, 140);
/* oklch */ color: oklch(47.2% 0.186 329.7);
Tailwind
colors: {
  custom: {
    50: '#b46aae',
    500: '#90228c',
    950: '#000000',
  },
}
SCSS
$custom: #90228c;
$custom-light: #b46aae;
$custom-dark: #000000;
JSON
{
  "hex": "#90228c",
  "rgb": {
    "r": 144,
    "g": 34,
    "b": 140
  },
  "hsl": {
    "h": 302.182,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47223,
    "c": 0.186,
    "h": 329.7
  },
  "luminance": 0.08967
}

Semantic roles & 50–950 ramp

primary
#90228C
secondary
#53BB57
accent
#E54943
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #90228C

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

Preview Lab → · Contrast checker → · Palette generator →

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