#90339A#90339A

#90339A is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.7% C 0.177 H 323.7°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#90339A
RGBrgb(144, 51, 154)
HSLhsl(294, 50%, 40%)
HSVhsv(294, 67%, 60%)
CMYKcmyk(6.5%, 66.9%, 0%, 39.6%)
CIE-LABlab(38.95, 53.00, -37.73)
CIE-LCHlch(38.95, 65.05, 324.55°)
OKLaboklab(49.66% 0.1429 -0.1049)
OKLCHoklch(49.66% 0.177 323.7)
XYZxyz(18.5176, 10.6311, 31.6422)
Luminance0.1063 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90339A #3D9A33
analogous
#5D339A #90339A #9A3370
triadic
#90339A #9A9033 #339A90
tetradic
#90339A #9A5D33 #3D9A33 #33709A
square
#90339A #9A5D33 #3D9A33 #33709A
split-complementary
#90339A #709A33 #339A5D
monochromatic
#3A153E #65246C #90339A #B648C2 #C976D2

Accessibility & contrast

On white

6.72
#90339A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#90339A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #90339A
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90339A#FFFFFF#000000##FFFFFF
##90339A1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B559D
Deuteranopia (green-blind)
#445F97
Tritanopia (blue-blind)
#934362
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #90339a;
/* rgb */ color: rgb(144, 51, 154);
/* oklch */ color: oklch(49.7% 0.177 323.7);
Tailwind
colors: {
  custom: {
    50: '#b472b8',
    500: '#90339a',
    950: '#000000',
  },
}
SCSS
$custom: #90339a;
$custom-light: #b472b8;
$custom-dark: #000000;
JSON
{
  "hex": "#90339a",
  "rgb": {
    "r": 144,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 294.175,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49656,
    "c": 0.17732,
    "h": 323.7
  },
  "luminance": 0.1063
}

Semantic roles & 50–950 ramp

primary
#90339A
secondary
#76BA6F
accent
#DA4E5C
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #90339A

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

Preview Lab → · Contrast checker → · Palette generator →

#90339A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva