#90318C#90318C

#90318C is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.6% C 0.168 H 329.5°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#90318C
RGBrgb(144, 49, 140)
HSLhsl(303, 49%, 38%)
HSVhsv(303, 66%, 56%)
CMYKcmyk(0%, 66%, 2.8%, 43.5%)
CIE-LABlab(37.88, 51.30, -30.91)
CIE-LCHlch(37.88, 59.90, 328.93°)
OKLaboklab(48.63% 0.1447 -0.0851)
OKLCHoklch(48.63% 0.168 329.5)
XYZxyz(17.3334, 10.0206, 25.8271)
Luminance0.1002 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90318C #319035
analogous
#643190 #90318C #90315D
triadic
#90318C #8C9031 #318C90
tetradic
#90318C #906431 #319035 #315D90
square
#90318C #906431 #319035 #315D90
split-complementary
#90318C #5D9031 #319064
monochromatic
#351233 #622160 #90318C #BE41B8 #CE6ECA

Accessibility & contrast

On white

6.99
#90318C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#90318C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #90318C
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90318C#FFFFFF#000000##FFFFFF
##90318C1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28518F
Deuteranopia (green-blind)
#4A5E89
Tritanopia (blue-blind)
#953C5A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #90318c;
/* rgb */ color: rgb(144, 49, 140);
/* oklch */ color: oklch(48.6% 0.168 329.5);
Tailwind
colors: {
  custom: {
    50: '#b371ae',
    500: '#90318c',
    950: '#000000',
  },
}
SCSS
$custom: #90318c;
$custom-light: #b371ae;
$custom-dark: #000000;
JSON
{
  "hex": "#90318c",
  "rgb": {
    "r": 144,
    "g": 49,
    "b": 140
  },
  "hsl": {
    "h": 302.526,
    "s": 49.223,
    "l": 37.843
  },
  "oklch": {
    "l": 0.48631,
    "c": 0.16789,
    "h": 329.5
  },
  "luminance": 0.10019
}

Semantic roles & 50–950 ramp

primary
#90318C
secondary
#68B56B
accent
#D9554F
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #90318C

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

Preview Lab → · Contrast checker → · Palette generator →

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