#90399D#90399D

#90399D is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.5% C 0.172 H 322.3°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#90399D
RGBrgb(144, 57, 157)
HSLhsl(292, 47%, 42%)
HSVhsv(292, 64%, 62%)
CMYKcmyk(8.3%, 63.7%, 0%, 38.4%)
CIE-LABlab(40.07, 50.94, -37.77)
CIE-LCHlch(40.07, 63.42, 323.45°)
OKLaboklab(50.52% 0.1358 -0.1051)
OKLCHoklch(50.52% 0.172 322.3)
XYZxyz(19.0499, 11.2909, 33.0677)
Luminance0.1129 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90399D #469D39
analogous
#5E399D #90399D #9D3978
triadic
#90399D #9D9039 #399D90
tetradic
#90399D #9D5E39 #469D39 #39789D
square
#90399D #9D5E39 #469D39 #39789D
split-complementary
#90399D #789D39 #399D5E
monochromatic
#3E1843 #672970 #90399D #B253C0 #C680D1

Accessibility & contrast

On white

6.45
#90399D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#90399D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #90399D
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90399D#FFFFFF#000000##FFFFFF
##90399D1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2358A0
Deuteranopia (green-blind)
#46629A
Tritanopia (blue-blind)
#924966
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #90399d;
/* rgb */ color: rgb(144, 57, 157);
/* oklch */ color: oklch(50.5% 0.172 322.3);
Tailwind
colors: {
  custom: {
    50: '#b375ba',
    500: '#90399d',
    950: '#000000',
  },
}
SCSS
$custom: #90399d;
$custom-light: #b375ba;
$custom-dark: #000000;
JSON
{
  "hex": "#90399d",
  "rgb": {
    "r": 144,
    "g": 57,
    "b": 157
  },
  "hsl": {
    "h": 292.2,
    "s": 46.729,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50516,
    "c": 0.17174,
    "h": 322.3
  },
  "luminance": 0.1129
}

Semantic roles & 50–950 ramp

primary
#90399D
secondary
#80BA78
accent
#D65163
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110912
muted
#807B81

Preview Lab

Preview with #90399D

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

Preview Lab → · Contrast checker → · Palette generator →

#90399D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva