#90408E#90408E

#90408E is a mid, vivid purple. Relative luminance 0.115; OKLCH L 50.6% C 0.147 H 328.4°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#90408E
RGBrgb(144, 64, 142)
HSLhsl(302, 38%, 41%)
HSVhsv(302, 56%, 56%)
CMYKcmyk(0%, 55.6%, 1.4%, 43.5%)
CIE-LABlab(40.49, 44.78, -28.03)
CIE-LCHlch(40.49, 52.83, 327.96°)
OKLaboklab(50.57% 0.1253 -0.077)
OKLCHoklch(50.57% 0.147 328.4)
XYZxyz(18.2172, 11.5502, 26.8558)
Luminance0.1155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90408E #409042
analogous
#6A4090 #90408E #904066
triadic
#90408E #8E9040 #408E90
tetradic
#90408E #906A40 #409042 #406690
square
#90408E #906A40 #409042 #406690
split-complementary
#90408E #669040 #40906A
monochromatic
#3B1A3A #662D64 #90408E #B558B3 #C883C6

Accessibility & contrast

On white

6.34
#90408E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#90408E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #90408E
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90408E#FFFFFF#000000##FFFFFF
##90408E1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395990
Deuteranopia (green-blind)
#52638C
Tritanopia (blue-blind)
#944961
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #90408e;
/* rgb */ color: rgb(144, 64, 142);
/* oklch */ color: oklch(50.6% 0.147 328.4);
Tailwind
colors: {
  custom: {
    50: '#b379af',
    500: '#90408e',
    950: '#000000',
  },
}
SCSS
$custom: #90408e;
$custom-light: #b379af;
$custom-dark: #000000;
JSON
{
  "hex": "#90408e",
  "rgb": {
    "r": 144,
    "g": 64,
    "b": 142
  },
  "hsl": {
    "h": 301.5,
    "s": 38.462,
    "l": 40.784
  },
  "oklch": {
    "l": 0.5057,
    "c": 0.14708,
    "h": 328.4
  },
  "luminance": 0.11549
}

Semantic roles & 50–950 ramp

primary
#90408E
secondary
#7AB27B
accent
#CE5C59
background
#FBF7FA
surface
#F6EEF4
border
#D0C9CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #90408E

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

Preview Lab → · Contrast checker → · Palette generator →

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