#90338A#90338A

#90338A is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.7% C 0.163 H 330.4°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#90338A
RGBrgb(144, 51, 138)
HSLhsl(304, 48%, 38%)
HSVhsv(304, 65%, 56%)
CMYKcmyk(0%, 64.6%, 4.2%, 43.5%)
CIE-LABlab(38.08, 50.11, -29.37)
CIE-LCHlch(38.08, 58.08, 329.63°)
OKLaboklab(48.74% 0.1421 -0.0807)
OKLCHoklch(48.74% 0.163 330.4)
XYZxyz(17.2728, 10.1332, 25.0860)
Luminance0.1013 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90338A #339039
analogous
#673390 #90338A #90335B
triadic
#90338A #8A9033 #338A90
tetradic
#90338A #906733 #339039 #335B90
square
#90338A #906733 #339039 #335B90
split-complementary
#90338A #5B9033 #339067
monochromatic
#361333 #63235F #90338A #BD44B5 #CD71C7

Accessibility & contrast

On white

6.94
#90338A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#90338A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #90338A
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90338A#FFFFFF#000000##FFFFFF
##90338A1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C518D
Deuteranopia (green-blind)
#4C5E88
Tritanopia (blue-blind)
#953D5A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #90338a;
/* rgb */ color: rgb(144, 51, 138);
/* oklch */ color: oklch(48.7% 0.163 330.4);
Tailwind
colors: {
  custom: {
    50: '#b372ac',
    500: '#90338a',
    950: '#000000',
  },
}
SCSS
$custom: #90338a;
$custom-light: #b372ac;
$custom-dark: #000000;
JSON
{
  "hex": "#90338a",
  "rgb": {
    "r": 144,
    "g": 51,
    "b": 138
  },
  "hsl": {
    "h": 303.871,
    "s": 47.692,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48743,
    "c": 0.16341,
    "h": 330.4
  },
  "luminance": 0.10132
}

Semantic roles & 50–950 ramp

primary
#90338A
secondary
#6AB56F
accent
#D75951
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #90338A

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

Preview Lab → · Contrast checker → · Palette generator →

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