#90127F#90127F

#90127F is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.190 H 335.0°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#90127F
RGBrgb(144, 18, 127)
HSLhsl(308, 78%, 32%)
HSVhsv(308, 88%, 56%)
CMYKcmyk(0%, 87.5%, 11.8%, 43.5%)
CIE-LABlab(33.76, 58.95, -29.35)
CIE-LCHlch(33.76, 65.86, 333.54°)
OKLaboklab(45.45% 0.1724 -0.0804)
OKLCHoklch(45.45% 0.19 335)
XYZxyz(15.5489, 7.8957, 20.7797)
Luminance0.0789 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90127F #129023
analogous
#621290 #90127F #901240
triadic
#90127F #7F9012 #127F90
tetradic
#90127F #906212 #129023 #124090
square
#90127F #906212 #129023 #124090
split-complementary
#90127F #409012 #129062
monochromatic
#23041F #5A0B4F #90127F #C619AF #E636CE

Accessibility & contrast

On white

8.14
#90127F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#90127F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #90127F
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90127F#FFFFFF#000000##FFFFFF
##90127F1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104482
Deuteranopia (green-blind)
#45567C
Tritanopia (blue-blind)
#98214B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #90127f;
/* rgb */ color: rgb(144, 18, 127);
/* oklch */ color: oklch(45.4% 0.190 335.0);
Tailwind
colors: {
  custom: {
    50: '#b564a4',
    500: '#90127f',
    950: '#000000',
  },
}
SCSS
$custom: #90127f;
$custom-light: #b564a4;
$custom-dark: #000000;
JSON
{
  "hex": "#90127f",
  "rgb": {
    "r": 144,
    "g": 18,
    "b": 127
  },
  "hsl": {
    "h": 308.095,
    "s": 77.778,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45448,
    "c": 0.19023,
    "h": 335
  },
  "luminance": 0.07894
}

Semantic roles & 50–950 ramp

primary
#90127F
secondary
#3AC44C
accent
#F44E34
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12060F
muted
#817A7F

Preview Lab

Preview with #90127F

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

Preview Lab → · Contrast checker → · Palette generator →

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