#90338B#90338B

#90338B is a mid, vivid purple. Relative luminance 0.102; OKLCH L 48.8% C 0.164 H 330.0°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#90338B
RGBrgb(144, 51, 139)
HSLhsl(303, 48%, 38%)
HSVhsv(303, 65%, 56%)
CMYKcmyk(0%, 64.6%, 3.5%, 43.5%)
CIE-LABlab(38.13, 50.28, -29.90)
CIE-LCHlch(38.13, 58.50, 329.26°)
OKLaboklab(48.8% 0.1422 -0.0822)
OKLCHoklch(48.8% 0.164 330)
XYZxyz(17.3455, 10.1623, 25.4690)
Luminance0.1016 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90338B #339038
analogous
#663390 #90338B #90335C
triadic
#90338B #8B9033 #338B90
tetradic
#90338B #906633 #339038 #335C90
square
#90338B #906633 #339038 #335C90
split-complementary
#90338B #5C9033 #339066
monochromatic
#361334 #63235F #90338B #BD44B6 #CD71C8

Accessibility & contrast

On white

6.93
#90338B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #90338B
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90338B#FFFFFF#000000##FFFFFF
##90338B1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #90338b;
/* rgb */ color: rgb(144, 51, 139);
/* oklch */ color: oklch(48.8% 0.164 330.0);
Tailwind
colors: {
  custom: {
    50: '#b372ad',
    500: '#90338b',
    950: '#000000',
  },
}
SCSS
$custom: #90338b;
$custom-light: #b372ad;
$custom-dark: #000000;
JSON
{
  "hex": "#90338b",
  "rgb": {
    "r": 144,
    "g": 51,
    "b": 139
  },
  "hsl": {
    "h": 303.226,
    "s": 47.692,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48797,
    "c": 0.16426,
    "h": 330
  },
  "luminance": 0.10161
}

Semantic roles & 50–950 ramp

primary
#90338B
secondary
#6AB56E
accent
#D75851
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #90338B

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

Preview Lab → · Contrast checker → · Palette generator →

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