#90227F#90227F

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

Color values

HEX#90227F
RGBrgb(144, 34, 127)
HSLhsl(309, 62%, 35%)
HSVhsv(309, 76%, 56%)
CMYKcmyk(0%, 76.4%, 11.8%, 43.5%)
CIE-LABlab(35.22, 54.77, -27.06)
CIE-LCHlch(35.22, 61.09, 333.70°)
OKLaboklab(46.49% 0.16 -0.074)
OKLCHoklch(46.49% 0.176 335.2)
XYZxyz(15.9046, 8.6071, 20.8983)
Luminance0.0861 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90227F #229033
analogous
#6A2290 #90227F #902248
triadic
#90227F #7F9022 #227F90
tetradic
#90227F #906A22 #229033 #224890
square
#90227F #906A22 #229033 #224890
split-complementary
#90227F #489022 #22906A
monochromatic
#2D0B28 #5E1653 #90227F #C22EAB #D755C3

Accessibility & contrast

On white

7.72
#90227F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #90227F
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90227F#FFFFFF#000000##FFFFFF
##90227F1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #90227f;
/* rgb */ color: rgb(144, 34, 127);
/* oklch */ color: oklch(46.5% 0.176 335.2);
Tailwind
colors: {
  custom: {
    50: '#b469a4',
    500: '#90227f',
    950: '#000000',
  },
}
SCSS
$custom: #90227f;
$custom-light: #b469a4;
$custom-dark: #000000;
JSON
{
  "hex": "#90227f",
  "rgb": {
    "r": 144,
    "g": 34,
    "b": 127
  },
  "hsl": {
    "h": 309.273,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46487,
    "c": 0.17624,
    "h": 335.2
  },
  "luminance": 0.08606
}

Semantic roles & 50–950 ramp

primary
#90227F
secondary
#53BB63
accent
#E55C43
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #90227F

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

Preview Lab → · Contrast checker → · Palette generator →

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