#8B2F93#8B2F93

#8B2F93 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.1% C 0.174 H 324.5°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#8B2F93
RGBrgb(139, 47, 147)
HSLhsl(295, 52%, 38%)
HSVhsv(295, 68%, 58%)
CMYKcmyk(5.4%, 68%, 0%, 42.4%)
CIE-LABlab(37.17, 52.15, -36.36)
CIE-LCHlch(37.17, 63.57, 325.11°)
OKLaboklab(48.08% 0.1415 -0.1011)
OKLCHoklch(48.08% 0.174 324.5)
XYZxyz(16.9300, 9.6296, 28.5651)
Luminance0.0963 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2F93 #37932F
analogous
#592F93 #8B2F93 #932F69
triadic
#8B2F93 #938B2F #2F938B
tetradic
#8B2F93 #93592F #37932F #2F6993
square
#8B2F93 #93592F #37932F #2F6993
split-complementary
#8B2F93 #69932F #2F9359
monochromatic
#331136 #5F2065 #8B2F93 #B73EC1 #C86CD0

Accessibility & contrast

On white

7.18
#8B2F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8B2F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2F93
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2F93#FFFFFF#000000##FFFFFF
##8B2F931.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195096
Deuteranopia (green-blind)
#415B90
Tritanopia (blue-blind)
#8E3F5D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8b2f93;
/* rgb */ color: rgb(139, 47, 147);
/* oklch */ color: oklch(48.1% 0.174 324.5);
Tailwind
colors: {
  custom: {
    50: '#b06fb3',
    500: '#8b2f93',
    950: '#000000',
  },
}
SCSS
$custom: #8b2f93;
$custom-light: #b06fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2f93",
  "rgb": {
    "r": 139,
    "g": 47,
    "b": 147
  },
  "hsl": {
    "h": 295.2,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48084,
    "c": 0.1739,
    "h": 324.5
  },
  "luminance": 0.09629
}

Semantic roles & 50–950 ramp

primary
#8B2F93
secondary
#6DB766
accent
#DB4D58
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B2F93

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

Preview Lab → · Contrast checker → · Palette generator →

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