#90308F#90308F

#90308F is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.7% C 0.172 H 328.2°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#90308F
RGBrgb(144, 48, 143)
HSLhsl(301, 50%, 38%)
HSVhsv(301, 67%, 56%)
CMYKcmyk(0%, 66.7%, 0.7%, 43.5%)
CIE-LABlab(37.89, 52.24, -32.72)
CIE-LCHlch(37.89, 61.65, 327.94°)
OKLaboklab(48.69% 0.1461 -0.0904)
OKLCHoklch(48.69% 0.172 328.2)
XYZxyz(17.5163, 10.0276, 26.9942)
Luminance0.1003 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90308F #309031
analogous
#613090 #90308F #90305F
triadic
#90308F #8F9030 #308F90
tetradic
#90308F #906130 #309031 #305F90
square
#90308F #906130 #309031 #305F90
split-complementary
#90308F #5F9030 #309061
monochromatic
#341134 #622161 #90308F #BE3FBD #CE6CCD

Accessibility & contrast

On white

6.99
#90308F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#90308F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #90308F
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90308F#FFFFFF#000000##FFFFFF
##90308F1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245192
Deuteranopia (green-blind)
#485E8C
Tritanopia (blue-blind)
#953D5B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #90308f;
/* rgb */ color: rgb(144, 48, 143);
/* oklch */ color: oklch(48.7% 0.172 328.2);
Tailwind
colors: {
  custom: {
    50: '#b370b0',
    500: '#90308f',
    950: '#000000',
  },
}
SCSS
$custom: #90308f;
$custom-light: #b370b0;
$custom-dark: #000000;
JSON
{
  "hex": "#90308f",
  "rgb": {
    "r": 144,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 300.625,
    "s": 50,
    "l": 37.647
  },
  "oklch": {
    "l": 0.48692,
    "c": 0.17176,
    "h": 328.2
  },
  "luminance": 0.10026
}

Semantic roles & 50–950 ramp

primary
#90308F
secondary
#66B567
accent
#DA504E
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#110810
muted
#807B7F

Preview Lab

Preview with #90308F

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

Preview Lab → · Contrast checker → · Palette generator →

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