#8B2C90#8B2C90

#8B2C90 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.6% C 0.175 H 325.8°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#8B2C90
RGBrgb(139, 44, 144)
HSLhsl(297, 53%, 37%)
HSVhsv(297, 69%, 56%)
CMYKcmyk(3.5%, 69.4%, 0%, 43.5%)
CIE-LABlab(36.56, 52.81, -35.49)
CIE-LCHlch(36.56, 63.63, 326.10°)
OKLaboklab(47.59% 0.1448 -0.0985)
OKLCHoklch(47.59% 0.175 325.8)
XYZxyz(16.5818, 9.3050, 27.3028)
Luminance0.0930 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2C90 #31902C
analogous
#592C90 #8B2C90 #902C63
triadic
#8B2C90 #908B2C #2C908B
tetradic
#8B2C90 #90592C #31902C #2C6390
square
#8B2C90 #90592C #31902C #2C6390
split-complementary
#8B2C90 #63902C #2C9059
monochromatic
#310F32 #5E1E61 #8B2C90 #B83ABF #CB66D0

Accessibility & contrast

On white

7.34
#8B2C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8B2C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2C90
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2C90#FFFFFF#000000##FFFFFF
##8B2C901.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174E93
Deuteranopia (green-blind)
#415A8D
Tritanopia (blue-blind)
#8E3B5A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8b2c90;
/* rgb */ color: rgb(139, 44, 144);
/* oklch */ color: oklch(47.6% 0.175 325.8);
Tailwind
colors: {
  custom: {
    50: '#b06eb1',
    500: '#8b2c90',
    950: '#000000',
  },
}
SCSS
$custom: #8b2c90;
$custom-light: #b06eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2c90",
  "rgb": {
    "r": 139,
    "g": 44,
    "b": 144
  },
  "hsl": {
    "h": 297,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47594,
    "c": 0.17517,
    "h": 325.8
  },
  "luminance": 0.09304
}

Semantic roles & 50–950 ramp

primary
#8B2C90
secondary
#65B761
accent
#DD4B52
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#110811
muted
#807B80

Preview Lab

Preview with #8B2C90

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

Preview Lab → · Contrast checker → · Palette generator →

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