#8B2F90#8B2F90

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

Color values

HEX#8B2F90
RGBrgb(139, 47, 144)
HSLhsl(297, 51%, 37%)
HSVhsv(297, 67%, 56%)
CMYKcmyk(3.5%, 67.4%, 0%, 43.5%)
CIE-LABlab(37.00, 51.59, -34.80)
CIE-LCHlch(37.00, 62.24, 326.00°)
OKLaboklab(47.91% 0.1415 -0.0965)
OKLCHoklch(47.91% 0.171 325.7)
XYZxyz(16.6977, 9.5367, 27.3414)
Luminance0.0954 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2F90 #34902F
analogous
#5A2F90 #8B2F90 #902F65
triadic
#8B2F90 #908B2F #2F908B
tetradic
#8B2F90 #905A2F #34902F #2F6590
square
#8B2F90 #905A2F #34902F #2F6590
split-complementary
#8B2F90 #65902F #2F905A
monochromatic
#321134 #5E2062 #8B2F90 #B83EBE #C96BCF

Accessibility & contrast

On white

7.22
#8B2F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8B2F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2F90
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2F90#FFFFFF#000000##FFFFFF
##8B2F901.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b2f90;
/* rgb */ color: rgb(139, 47, 144);
/* oklch */ color: oklch(47.9% 0.171 325.7);
Tailwind
colors: {
  custom: {
    50: '#b06fb1',
    500: '#8b2f90',
    950: '#000000',
  },
}
SCSS
$custom: #8b2f90;
$custom-light: #b06fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2f90",
  "rgb": {
    "r": 139,
    "g": 47,
    "b": 144
  },
  "hsl": {
    "h": 296.907,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47905,
    "c": 0.17126,
    "h": 325.7
  },
  "luminance": 0.09536
}

Semantic roles & 50–950 ramp

primary
#8B2F90
secondary
#69B665
accent
#DA4E55
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#110810
muted
#807B7F

Preview Lab

Preview with #8B2F90

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

Preview Lab → · Contrast checker → · Palette generator →

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