#90227E#90227E

#90227E is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.4% C 0.176 H 335.6°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#90227E
RGBrgb(144, 34, 126)
HSLhsl(310, 62%, 35%)
HSVhsv(310, 76%, 56%)
CMYKcmyk(0%, 76.4%, 12.5%, 43.5%)
CIE-LABlab(35.16, 54.61, -26.52)
CIE-LCHlch(35.16, 60.71, 334.10°)
OKLaboklab(46.43% 0.1599 -0.0724)
OKLCHoklch(46.43% 0.176 335.6)
XYZxyz(15.8398, 8.5811, 20.5567)
Luminance0.0858 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90227E #229034
analogous
#6B2290 #90227E #902247
triadic
#90227E #7E9022 #227E90
tetradic
#90227E #906B22 #229034 #224790
square
#90227E #906B22 #229034 #224790
split-complementary
#90227E #479022 #22906B
monochromatic
#2D0B27 #5E1653 #90227E #C22EA9 #D755C2

Accessibility & contrast

On white

7.73
#90227E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#90227E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90227E
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90227E#FFFFFF#000000##FFFFFF
##90227E1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234880
Deuteranopia (green-blind)
#4A597B
Tritanopia (blue-blind)
#972B4E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #90227e;
/* rgb */ color: rgb(144, 34, 126);
/* oklch */ color: oklch(46.4% 0.176 335.6);
Tailwind
colors: {
  custom: {
    50: '#b469a3',
    500: '#90227e',
    950: '#000000',
  },
}
SCSS
$custom: #90227e;
$custom-light: #b469a3;
$custom-dark: #000000;
JSON
{
  "hex": "#90227e",
  "rgb": {
    "r": 144,
    "g": 34,
    "b": 126
  },
  "hsl": {
    "h": 309.818,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46433,
    "c": 0.17551,
    "h": 335.6
  },
  "luminance": 0.0858
}

Semantic roles & 50–950 ramp

primary
#90227E
secondary
#53BB64
accent
#E55D43
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #90227E

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

Preview Lab → · Contrast checker → · Palette generator →

#90227E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva