#90308E#90308E

#90308E is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.6% C 0.171 H 328.7°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#90308E
RGBrgb(144, 48, 142)
HSLhsl(301, 50%, 38%)
HSVhsv(301, 67%, 56%)
CMYKcmyk(0%, 66.7%, 1.4%, 43.5%)
CIE-LABlab(37.84, 52.07, -32.20)
CIE-LCHlch(37.84, 61.22, 328.27°)
OKLaboklab(48.64% 0.146 -0.0889)
OKLCHoklch(48.64% 0.171 328.7)
XYZxyz(17.4408, 9.9974, 26.5970)
Luminance0.1000 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90308E #309032
analogous
#623090 #90308E #90305E
triadic
#90308E #8E9030 #308E90
tetradic
#90308E #906230 #309032 #305E90
square
#90308E #906230 #309032 #305E90
split-complementary
#90308E #5E9030 #309062
monochromatic
#341133 #622161 #90308E #BE3FBB #CE6CCC

Accessibility & contrast

On white

7.00
#90308E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#90308E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #90308E
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90308E#FFFFFF#000000##FFFFFF
##90308E1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #90308e;
/* rgb */ color: rgb(144, 48, 142);
/* oklch */ color: oklch(48.6% 0.171 328.7);
Tailwind
colors: {
  custom: {
    50: '#b370af',
    500: '#90308e',
    950: '#000000',
  },
}
SCSS
$custom: #90308e;
$custom-light: #b370af;
$custom-dark: #000000;
JSON
{
  "hex": "#90308e",
  "rgb": {
    "r": 144,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 301.25,
    "s": 50,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48635,
    "c": 0.17092,
    "h": 328.7
  },
  "luminance": 0.09996
}

Semantic roles & 50–950 ramp

primary
#90308E
secondary
#66B568
accent
#DA514E
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #90308E

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

Preview Lab → · Contrast checker → · Palette generator →

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