#90338E#90338E

#90338E is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.0% C 0.167 H 328.6°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#90338E
RGBrgb(144, 51, 142)
HSLhsl(301, 48%, 38%)
HSVhsv(301, 65%, 56%)
CMYKcmyk(0%, 64.6%, 1.4%, 43.5%)
CIE-LABlab(38.29, 50.81, -31.49)
CIE-LCHlch(38.29, 59.77, 328.21°)
OKLaboklab(48.96% 0.1424 -0.0868)
OKLCHoklch(48.96% 0.167 328.6)
XYZxyz(17.5677, 10.2511, 26.6393)
Luminance0.1025 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90338E #339035
analogous
#633390 #90338E #90335F
triadic
#90338E #8E9033 #338E90
tetradic
#90338E #906333 #339035 #335F90
square
#90338E #906333 #339035 #335F90
split-complementary
#90338E #5F9033 #339063
monochromatic
#361335 #632361 #90338E #BD44BA #CD71CB

Accessibility & contrast

On white

6.89
#90338E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#90338E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #90338E
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90338E#FFFFFF#000000##FFFFFF
##90338E1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295291
Deuteranopia (green-blind)
#4A5F8B
Tritanopia (blue-blind)
#953E5C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #90338e;
/* rgb */ color: rgb(144, 51, 142);
/* oklch */ color: oklch(49.0% 0.167 328.6);
Tailwind
colors: {
  custom: {
    50: '#b372af',
    500: '#90338e',
    950: '#000000',
  },
}
SCSS
$custom: #90338e;
$custom-light: #b372af;
$custom-dark: #000000;
JSON
{
  "hex": "#90338e",
  "rgb": {
    "r": 144,
    "g": 51,
    "b": 142
  },
  "hsl": {
    "h": 301.29,
    "s": 47.692,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48962,
    "c": 0.1668,
    "h": 328.6
  },
  "luminance": 0.1025
}

Semantic roles & 50–950 ramp

primary
#90338E
secondary
#6AB56C
accent
#D75351
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #90338E

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

Preview Lab → · Contrast checker → · Palette generator →

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