#8A1990#8A1990

#8A1990 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.9% C 0.195 H 325.8°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#8A1990
RGBrgb(138, 25, 144)
HSLhsl(297, 70%, 33%)
HSVhsv(297, 83%, 56%)
CMYKcmyk(4.2%, 82.6%, 0%, 43.5%)
CIE-LABlab(34.22, 58.83, -39.24)
CIE-LCHlch(34.22, 70.71, 326.30°)
OKLaboklab(45.89% 0.1611 -0.1093)
OKLCHoklch(45.89% 0.195 325.8)
XYZxyz(15.8626, 8.1133, 27.1107)
Luminance0.0811 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A1990 #1F9019
analogous
#4E1990 #8A1990 #90195A
triadic
#8A1990 #908A19 #19908A
tetradic
#8A1990 #904E19 #1F9019 #195A90
square
#8A1990 #904E19 #1F9019 #195A90
split-complementary
#8A1990 #5A9019 #19904E
monochromatic
#260728 #58105C #8A1990 #BC22C4 #D745DF

Accessibility & contrast

On white

8.01
#8A1990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8A1990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A1990
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A1990#FFFFFF#000000##FFFFFF
##8A19901.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#37558D
Tritanopia (blue-blind)
#8E3156
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8a1990;
/* rgb */ color: rgb(138, 25, 144);
/* oklch */ color: oklch(45.9% 0.195 325.8);
Tailwind
colors: {
  custom: {
    50: '#b066b1',
    500: '#8a1990',
    950: '#000000',
  },
}
SCSS
$custom: #8a1990;
$custom-light: #b066b1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a1990",
  "rgb": {
    "r": 138,
    "g": 25,
    "b": 144
  },
  "hsl": {
    "h": 296.975,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45887,
    "c": 0.19467,
    "h": 325.8
  },
  "luminance": 0.08112
}

Semantic roles & 50–950 ramp

primary
#8A1990
secondary
#4BC045
accent
#ED3B44
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110711
muted
#807A80

Preview Lab

Preview with #8A1990

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

Preview Lab → · Contrast checker → · Palette generator →

#8A1990 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva