#90398E#90398E

#90398E is a mid, vivid purple. Relative luminance 0.108; OKLCH L 49.7% C 0.158 H 328.5°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#90398E
RGBrgb(144, 57, 142)
HSLhsl(301, 43%, 39%)
HSVhsv(301, 60%, 56%)
CMYKcmyk(0%, 60.4%, 1.4%, 43.5%)
CIE-LABlab(39.26, 48.13, -29.96)
CIE-LCHlch(39.26, 56.70, 328.10°)
OKLaboklab(49.67% 0.1348 -0.0825)
OKLCHoklch(49.67% 0.158 328.5)
XYZxyz(17.8470, 10.8097, 26.7324)
Luminance0.1081 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90398E #39903B
analogous
#673990 #90398E #903963
triadic
#90398E #8E9039 #398E90
tetradic
#90398E #906739 #39903B #396390
square
#90398E #906739 #39903B #396390
split-complementary
#90398E #639039 #399067
monochromatic
#381638 #642863 #90398E #B94DB6 #CA79C8

Accessibility & contrast

On white

6.64
#90398E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#90398E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #90398E
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90398E#FFFFFF#000000##FFFFFF
##90398E1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305591
Deuteranopia (green-blind)
#4E618C
Tritanopia (blue-blind)
#95435E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #90398e;
/* rgb */ color: rgb(144, 57, 142);
/* oklch */ color: oklch(49.7% 0.158 328.5);
Tailwind
colors: {
  custom: {
    50: '#b375af',
    500: '#90398e',
    950: '#000000',
  },
}
SCSS
$custom: #90398e;
$custom-light: #b375af;
$custom-dark: #000000;
JSON
{
  "hex": "#90398e",
  "rgb": {
    "r": 144,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 301.379,
    "s": 43.284,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49667,
    "c": 0.15806,
    "h": 328.5
  },
  "luminance": 0.10809
}

Semantic roles & 50–950 ramp

primary
#90398E
secondary
#71B373
accent
#D35855
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #90398E

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

Preview Lab → · Contrast checker → · Palette generator →

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