#8B2F9B#8B2F9B

#8B2F9B is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.6% C 0.181 H 321.4°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#8B2F9B
RGBrgb(139, 47, 155)
HSLhsl(291, 53%, 40%)
HSVhsv(291, 70%, 61%)
CMYKcmyk(10.3%, 69.7%, 0%, 39.2%)
CIE-LABlab(37.64, 53.66, -40.47)
CIE-LCHlch(37.64, 67.21, 322.98°)
OKLaboklab(48.58% 0.1414 -0.113)
OKLCHoklch(48.58% 0.181 321.4)
XYZxyz(17.5797, 9.8895, 31.9869)
Luminance0.0989 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2F9B #3F9B2F
analogous
#552F9B #8B2F9B #9B2F75
triadic
#8B2F9B #9B8B2F #2F9B8B
tetradic
#8B2F9B #9B552F #3F9B2F #2F759B
square
#8B2F9B #9B552F #3F9B2F #2F759B
split-complementary
#8B2F9B #759B2F #2F9B55
monochromatic
#37133D #61216C #8B2F9B #B242C6 #C571D4

Accessibility & contrast

On white

7.05
#8B2F9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#8B2F9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2F9B
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2F9B#FFFFFF#000000##FFFFFF
##8B2F9B1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07529E
Deuteranopia (green-blind)
#3C5C98
Tritanopia (blue-blind)
#8C4261
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8b2f9b;
/* rgb */ color: rgb(139, 47, 155);
/* oklch */ color: oklch(48.6% 0.181 321.4);
Tailwind
colors: {
  custom: {
    50: '#b070b9',
    500: '#8b2f9b',
    950: '#000000',
  },
}
SCSS
$custom: #8b2f9b;
$custom-light: #b070b9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2f9b",
  "rgb": {
    "r": 139,
    "g": 47,
    "b": 155
  },
  "hsl": {
    "h": 291.111,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48578,
    "c": 0.18105,
    "h": 321.4
  },
  "luminance": 0.09889
}

Semantic roles & 50–950 ramp

primary
#8B2F9B
secondary
#76BB6A
accent
#DD4B61
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8B2F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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