#90237E#90237E

#90237E is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.5% C 0.174 H 335.7°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#90237E
RGBrgb(144, 35, 126)
HSLhsl(310, 61%, 35%)
HSVhsv(310, 76%, 56%)
CMYKcmyk(0%, 75.7%, 12.5%, 43.5%)
CIE-LABlab(35.28, 54.29, -26.34)
CIE-LCHlch(35.28, 60.34, 334.12°)
OKLaboklab(46.52% 0.1589 -0.0719)
OKLCHoklch(46.52% 0.174 335.7)
XYZxyz(15.8688, 8.6391, 20.5664)
Luminance0.0864 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90237E #239035
analogous
#6B2390 #90237E #902348
triadic
#90237E #7E9023 #237E90
tetradic
#90237E #906B23 #239035 #234890
square
#90237E #906B23 #239035 #234890
split-complementary
#90237E #489023 #23906B
monochromatic
#2E0B28 #5F1753 #90237E #C12FA9 #D657C1

Accessibility & contrast

On white

7.70
#90237E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#90237E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90237E
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90237E#FFFFFF#000000##FFFFFF
##90237E1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #90237e;
/* rgb */ color: rgb(144, 35, 126);
/* oklch */ color: oklch(46.5% 0.174 335.7);
Tailwind
colors: {
  custom: {
    50: '#b46aa3',
    500: '#90237e',
    950: '#000000',
  },
}
SCSS
$custom: #90237e;
$custom-light: #b46aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#90237e",
  "rgb": {
    "r": 144,
    "g": 35,
    "b": 126
  },
  "hsl": {
    "h": 309.908,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.46516,
    "c": 0.17441,
    "h": 335.7
  },
  "luminance": 0.08638
}

Semantic roles & 50–950 ramp

primary
#90237E
secondary
#54BA65
accent
#E45E44
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #90237E

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

Preview Lab → · Contrast checker → · Palette generator →

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