#8B2E90#8B2E90

#8B2E90 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.8% C 0.173 H 325.7°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#8B2E90
RGBrgb(139, 46, 144)
HSLhsl(297, 52%, 37%)
HSVhsv(297, 68%, 56%)
CMYKcmyk(3.5%, 68.1%, 0%, 43.5%)
CIE-LABlab(36.85, 52.01, -35.04)
CIE-LCHlch(36.85, 62.71, 326.03°)
OKLaboklab(47.8% 0.1426 -0.0972)
OKLCHoklch(47.8% 0.173 325.7)
XYZxyz(16.6581, 9.4576, 27.3282)
Luminance0.0946 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2E90 #33902E
analogous
#5A2E90 #8B2E90 #902E64
triadic
#8B2E90 #908B2E #2E908B
tetradic
#8B2E90 #905A2E #33902E #2E6490
square
#8B2E90 #905A2E #33902E #2E6490
split-complementary
#8B2E90 #64902E #2E905A
monochromatic
#311033 #5E1F62 #8B2E90 #B83DBE #CA69CF

Accessibility & contrast

On white

7.26
#8B2E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8B2E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2E90
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2E90#FFFFFF#000000##FFFFFF
##8B2E901.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4F93
Deuteranopia (green-blind)
#425B8D
Tritanopia (blue-blind)
#8E3D5B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8b2e90;
/* rgb */ color: rgb(139, 46, 144);
/* oklch */ color: oklch(47.8% 0.173 325.7);
Tailwind
colors: {
  custom: {
    50: '#b06fb1',
    500: '#8b2e90',
    950: '#000000',
  },
}
SCSS
$custom: #8b2e90;
$custom-light: #b06fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2e90",
  "rgb": {
    "r": 139,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 296.939,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47799,
    "c": 0.17259,
    "h": 325.7
  },
  "luminance": 0.09457
}

Semantic roles & 50–950 ramp

primary
#8B2E90
secondary
#68B664
accent
#DB4D54
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#110811
muted
#807B80

Preview Lab

Preview with #8B2E90

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

Preview Lab → · Contrast checker → · Palette generator →

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