#90318E#90318E

#90318E is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.7% C 0.170 H 328.7°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#90318E
RGBrgb(144, 49, 142)
HSLhsl(301, 49%, 38%)
HSVhsv(301, 66%, 56%)
CMYKcmyk(0%, 66%, 1.4%, 43.5%)
CIE-LABlab(37.99, 51.65, -31.96)
CIE-LCHlch(37.99, 60.74, 328.25°)
OKLaboklab(48.74% 0.1448 -0.0882)
OKLCHoklch(48.74% 0.17 328.7)
XYZxyz(17.4822, 10.0801, 26.6108)
Luminance0.1008 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90318E #319033
analogous
#623190 #90318E #90315E
triadic
#90318E #8E9031 #318E90
tetradic
#90318E #906231 #319033 #315E90
square
#90318E #906231 #319033 #315E90
split-complementary
#90318E #5E9031 #319062
monochromatic
#351234 #622161 #90318E #BE41BB #CE6ECC

Accessibility & contrast

On white

6.96
#90318E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#90318E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #90318E
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90318E#FFFFFF#000000##FFFFFF
##90318E1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265191
Deuteranopia (green-blind)
#495E8B
Tritanopia (blue-blind)
#953D5B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #90318e;
/* rgb */ color: rgb(144, 49, 142);
/* oklch */ color: oklch(48.7% 0.170 328.7);
Tailwind
colors: {
  custom: {
    50: '#b371af',
    500: '#90318e',
    950: '#000000',
  },
}
SCSS
$custom: #90318e;
$custom-light: #b371af;
$custom-dark: #000000;
JSON
{
  "hex": "#90318e",
  "rgb": {
    "r": 144,
    "g": 49,
    "b": 142
  },
  "hsl": {
    "h": 301.263,
    "s": 49.223,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48742,
    "c": 0.16956,
    "h": 328.7
  },
  "luminance": 0.10079
}

Semantic roles & 50–950 ramp

primary
#90318E
secondary
#68B569
accent
#D9524F
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #90318E

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

Preview Lab → · Contrast checker → · Palette generator →

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