#90308A#90308A

#90308A is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.4% C 0.168 H 330.4°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#90308A
RGBrgb(144, 48, 138)
HSLhsl(304, 50%, 38%)
HSVhsv(304, 67%, 56%)
CMYKcmyk(0%, 66.7%, 4.2%, 43.5%)
CIE-LABlab(37.63, 51.37, -30.08)
CIE-LCHlch(37.63, 59.53, 329.65°)
OKLaboklab(48.41% 0.1457 -0.0828)
OKLCHoklch(48.41% 0.168 330.4)
XYZxyz(17.1459, 9.8794, 25.0437)
Luminance0.0988 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90308A #309036
analogous
#663090 #90308A #90305A
triadic
#90308A #8A9030 #308A90
tetradic
#90308A #906630 #309036 #305A90
square
#90308A #906630 #309036 #305A90
split-complementary
#90308A #5A9030 #309066
monochromatic
#341132 #62215E #90308A #BE3FB6 #CE6CC8

Accessibility & contrast

On white

7.06
#90308A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#90308A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90308A
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90308A#FFFFFF#000000##FFFFFF
##90308A1.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28508D
Deuteranopia (green-blind)
#4B5D87
Tritanopia (blue-blind)
#953B59
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #90308a;
/* rgb */ color: rgb(144, 48, 138);
/* oklch */ color: oklch(48.4% 0.168 330.4);
Tailwind
colors: {
  custom: {
    50: '#b370ac',
    500: '#90308a',
    950: '#000000',
  },
}
SCSS
$custom: #90308a;
$custom-light: #b370ac;
$custom-dark: #000000;
JSON
{
  "hex": "#90308a",
  "rgb": {
    "r": 144,
    "g": 48,
    "b": 138
  },
  "hsl": {
    "h": 303.75,
    "s": 50,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48412,
    "c": 0.16758,
    "h": 330.4
  },
  "luminance": 0.09878
}

Semantic roles & 50–950 ramp

primary
#90308A
secondary
#66B56B
accent
#DA574E
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #90308A

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

Preview Lab → · Contrast checker → · Palette generator →

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