#8B2F9E#8B2F9E

#8B2F9E is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.8% C 0.184 H 320.3°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#8B2F9E
RGBrgb(139, 47, 158)
HSLhsl(290, 54%, 40%)
HSVhsv(290, 70%, 62%)
CMYKcmyk(12%, 70.3%, 0%, 38%)
CIE-LABlab(37.83, 54.24, -41.98)
CIE-LCHlch(37.83, 68.59, 322.26°)
OKLaboklab(48.77% 0.1413 -0.1175)
OKLCHoklch(48.77% 0.184 320.3)
XYZxyz(17.8348, 9.9915, 33.3303)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2F9E #429E2F
analogous
#542F9E #8B2F9E #9E2F79
triadic
#8B2F9E #9E8B2F #2F9E8B
tetradic
#8B2F9E #9E542F #429E2F #2F799E
square
#8B2F9E #9E542F #429E2F #2F799E
split-complementary
#8B2F9E #799E2F #2F9E54
monochromatic
#381340 #62216F #8B2F9E #B143C7 #C472D5

Accessibility & contrast

On white

7.00
#8B2F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#8B2F9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B2F9E
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2F9E#FFFFFF#000000##FFFFFF
##8B2F9E1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A1
Deuteranopia (green-blind)
#395C9B
Tritanopia (blue-blind)
#8C4363
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8b2f9e;
/* rgb */ color: rgb(139, 47, 158);
/* oklch */ color: oklch(48.8% 0.184 320.3);
Tailwind
colors: {
  custom: {
    50: '#b070bb',
    500: '#8b2f9e',
    950: '#000000',
  },
}
SCSS
$custom: #8b2f9e;
$custom-light: #b070bb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2f9e",
  "rgb": {
    "r": 139,
    "g": 47,
    "b": 158
  },
  "hsl": {
    "h": 289.73,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48769,
    "c": 0.18375,
    "h": 320.3
  },
  "luminance": 0.09991
}

Semantic roles & 50–950 ramp

primary
#8B2F9E
secondary
#7ABD6C
accent
#DE4A63
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8B2F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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