#90237F#90237F

#90237F is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.6% C 0.175 H 335.2°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#90237F
RGBrgb(144, 35, 127)
HSLhsl(309, 61%, 35%)
HSVhsv(309, 76%, 56%)
CMYKcmyk(0%, 75.7%, 11.8%, 43.5%)
CIE-LABlab(35.33, 54.44, -26.88)
CIE-LCHlch(35.33, 60.71, 333.72°)
OKLaboklab(46.57% 0.159 -0.0734)
OKLCHoklch(46.57% 0.175 335.2)
XYZxyz(15.9336, 8.6651, 20.9079)
Luminance0.0866 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90237F #239034
analogous
#6B2390 #90237F #902348
triadic
#90237F #7F9023 #237F90
tetradic
#90237F #906B23 #239034 #234890
square
#90237F #906B23 #239034 #234890
split-complementary
#90237F #489023 #23906B
monochromatic
#2E0B28 #5F1754 #90237F #C12FAA #D657C2

Accessibility & contrast

On white

7.68
#90237F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #90237F
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90237F#FFFFFF#000000##FFFFFF
##90237F1.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #90237f;
/* rgb */ color: rgb(144, 35, 127);
/* oklch */ color: oklch(46.6% 0.175 335.2);
Tailwind
colors: {
  custom: {
    50: '#b46aa4',
    500: '#90237f',
    950: '#000000',
  },
}
SCSS
$custom: #90237f;
$custom-light: #b46aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#90237f",
  "rgb": {
    "r": 144,
    "g": 35,
    "b": 127
  },
  "hsl": {
    "h": 309.358,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4657,
    "c": 0.17515,
    "h": 335.2
  },
  "luminance": 0.08664
}

Semantic roles & 50–950 ramp

primary
#90237F
secondary
#54BA64
accent
#E45D44
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #90237F

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

Preview Lab → · Contrast checker → · Palette generator →

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