#90308B#90308B

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

Color values

HEX#90308B
RGBrgb(144, 48, 139)
HSLhsl(303, 50%, 38%)
HSVhsv(303, 67%, 56%)
CMYKcmyk(0%, 66.7%, 3.5%, 43.5%)
CIE-LABlab(37.68, 51.55, -30.61)
CIE-LCHlch(37.68, 59.95, 329.29°)
OKLaboklab(48.47% 0.1458 -0.0843)
OKLCHoklch(48.47% 0.168 330)
XYZxyz(17.2186, 9.9085, 25.4267)
Luminance0.0991 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90308B #309035
analogous
#653090 #90308B #90305B
triadic
#90308B #8B9030 #308B90
tetradic
#90308B #906530 #309035 #305B90
square
#90308B #906530 #309035 #305B90
split-complementary
#90308B #5B9030 #309065
monochromatic
#341132 #62215F #90308B #BE3FB7 #CE6CC9

Accessibility & contrast

On white

7.04
#90308B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #90308B
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90308B#FFFFFF#000000##FFFFFF
##90308B1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27508E
Deuteranopia (green-blind)
#4A5D88
Tritanopia (blue-blind)
#953B59
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #90308b;
/* rgb */ color: rgb(144, 48, 139);
/* oklch */ color: oklch(48.5% 0.168 330.0);
Tailwind
colors: {
  custom: {
    50: '#b370ad',
    500: '#90308b',
    950: '#000000',
  },
}
SCSS
$custom: #90308b;
$custom-light: #b370ad;
$custom-dark: #000000;
JSON
{
  "hex": "#90308b",
  "rgb": {
    "r": 144,
    "g": 48,
    "b": 139
  },
  "hsl": {
    "h": 303.125,
    "s": 50,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48467,
    "c": 0.16841,
    "h": 330
  },
  "luminance": 0.09907
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #90308B

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

Preview Lab → · Contrast checker → · Palette generator →

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