#90338D#90338D

#90338D is a mid, vivid purple. Relative luminance 0.102; OKLCH L 48.9% C 0.166 H 329.1°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#90338D
RGBrgb(144, 51, 141)
HSLhsl(302, 48%, 38%)
HSVhsv(302, 65%, 56%)
CMYKcmyk(0%, 64.6%, 2.1%, 43.5%)
CIE-LABlab(38.24, 50.63, -30.96)
CIE-LCHlch(38.24, 59.35, 328.56°)
OKLaboklab(48.91% 0.1423 -0.0853)
OKLCHoklch(48.91% 0.166 329.1)
XYZxyz(17.4930, 10.2212, 26.2457)
Luminance0.1022 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90338D #339036
analogous
#643390 #90338D #90335F
triadic
#90338D #8D9033 #338D90
tetradic
#90338D #906433 #339036 #335F90
square
#90338D #906433 #339036 #335F90
split-complementary
#90338D #5F9033 #339064
monochromatic
#361334 #632361 #90338D #BD44B9 #CD71CA

Accessibility & contrast

On white

6.90
#90338D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#90338D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #90338D
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90338D#FFFFFF#000000##FFFFFF
##90338D1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5290
Deuteranopia (green-blind)
#4B5E8B
Tritanopia (blue-blind)
#953E5B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #90338d;
/* rgb */ color: rgb(144, 51, 141);
/* oklch */ color: oklch(48.9% 0.166 329.1);
Tailwind
colors: {
  custom: {
    50: '#b372ae',
    500: '#90338d',
    950: '#000000',
  },
}
SCSS
$custom: #90338d;
$custom-light: #b372ae;
$custom-dark: #000000;
JSON
{
  "hex": "#90338d",
  "rgb": {
    "r": 144,
    "g": 51,
    "b": 141
  },
  "hsl": {
    "h": 301.935,
    "s": 47.692,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48907,
    "c": 0.16595,
    "h": 329.1
  },
  "luminance": 0.1022
}

Semantic roles & 50–950 ramp

primary
#90338D
secondary
#6AB56D
accent
#D75551
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #90338D

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

Preview Lab → · Contrast checker → · Palette generator →

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