#8B2F97#8B2F97

#8B2F97 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.3% C 0.177 H 322.9°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#8B2F97
RGBrgb(139, 47, 151)
HSLhsl(293, 53%, 39%)
HSVhsv(293, 69%, 59%)
CMYKcmyk(7.9%, 68.9%, 0%, 40.8%)
CIE-LABlab(37.40, 52.90, -38.42)
CIE-LCHlch(37.40, 65.38, 324.01°)
OKLaboklab(48.33% 0.1415 -0.1071)
OKLCHoklch(48.33% 0.177 322.9)
XYZxyz(17.2493, 9.7573, 30.2469)
Luminance0.0976 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2F97 #3B972F
analogous
#572F97 #8B2F97 #972F6F
triadic
#8B2F97 #978B2F #2F978B
tetradic
#8B2F97 #97572F #3B972F #2F6F97
square
#8B2F97 #97572F #3B972F #2F6F97
split-complementary
#8B2F97 #6F972F #2F9757
monochromatic
#35123A #602068 #8B2F97 #B440C3 #C76ED2

Accessibility & contrast

On white

7.12
#8B2F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8B2F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2F97
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2F97#FFFFFF#000000##FFFFFF
##8B2F971.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12519A
Deuteranopia (green-blind)
#3E5C94
Tritanopia (blue-blind)
#8D405F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8b2f97;
/* rgb */ color: rgb(139, 47, 151);
/* oklch */ color: oklch(48.3% 0.177 322.9);
Tailwind
colors: {
  custom: {
    50: '#b070b6',
    500: '#8b2f97',
    950: '#000000',
  },
}
SCSS
$custom: #8b2f97;
$custom-light: #b070b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2f97",
  "rgb": {
    "r": 139,
    "g": 47,
    "b": 151
  },
  "hsl": {
    "h": 293.077,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48328,
    "c": 0.17746,
    "h": 322.9
  },
  "luminance": 0.09756
}

Semantic roles & 50–950 ramp

primary
#8B2F97
secondary
#72B968
accent
#DC4C5C
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B2F97

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

Preview Lab → · Contrast checker → · Palette generator →

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