#90308C#90308C

#90308C is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.5% C 0.169 H 329.5°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#90308C
RGBrgb(144, 48, 140)
HSLhsl(303, 50%, 38%)
HSVhsv(303, 67%, 56%)
CMYKcmyk(0%, 66.7%, 2.8%, 43.5%)
CIE-LABlab(37.73, 51.72, -31.14)
CIE-LCHlch(37.73, 60.37, 328.95°)
OKLaboklab(48.52% 0.1459 -0.0858)
OKLCHoklch(48.52% 0.169 329.5)
XYZxyz(17.2920, 9.9379, 25.8133)
Luminance0.0994 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90308C #309034
analogous
#643090 #90308C #90305C
triadic
#90308C #8C9030 #308C90
tetradic
#90308C #906430 #309034 #305C90
square
#90308C #906430 #309034 #305C90
split-complementary
#90308C #5C9030 #309064
monochromatic
#341133 #62215F #90308C #BE3FB9 #CE6CCA

Accessibility & contrast

On white

7.03
#90308C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#90308C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90308C
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90308C#FFFFFF#000000##FFFFFF
##90308C1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27508F
Deuteranopia (green-blind)
#4A5D89
Tritanopia (blue-blind)
#953B5A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #90308c;
/* rgb */ color: rgb(144, 48, 140);
/* oklch */ color: oklch(48.5% 0.169 329.5);
Tailwind
colors: {
  custom: {
    50: '#b370ae',
    500: '#90308c',
    950: '#000000',
  },
}
SCSS
$custom: #90308c;
$custom-light: #b370ae;
$custom-dark: #000000;
JSON
{
  "hex": "#90308c",
  "rgb": {
    "r": 144,
    "g": 48,
    "b": 140
  },
  "hsl": {
    "h": 302.5,
    "s": 50,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48523,
    "c": 0.16924,
    "h": 329.5
  },
  "luminance": 0.09937
}

Semantic roles & 50–950 ramp

primary
#90308C
secondary
#66B56A
accent
#DA544E
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #90308C

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

Preview Lab → · Contrast checker → · Palette generator →

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