#8B2E9F#8B2E9F

#8B2E9F is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.7% C 0.186 H 320.0°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#8B2E9F
RGBrgb(139, 46, 159)
HSLhsl(289, 55%, 40%)
HSVhsv(289, 71%, 62%)
CMYKcmyk(12.6%, 71.1%, 0%, 37.6%)
CIE-LABlab(37.75, 54.83, -42.72)
CIE-LCHlch(37.75, 69.51, 322.08°)
OKLaboklab(48.73% 0.1423 -0.1196)
OKLCHoklch(48.73% 0.186 320)
XYZxyz(17.8817, 9.9470, 33.7722)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B2E9F #429F2E
analogous
#532E9F #8B2E9F #9F2E7A
triadic
#8B2E9F #9F8B2E #2E9F8B
tetradic
#8B2E9F #9F532E #429F2E #2E7A9F
square
#8B2E9F #9F532E #429F2E #2E7A9F
split-complementary
#8B2E9F #7A9F2E #2E9F53
monochromatic
#381340 #622070 #8B2E9F #B142C8 #C471D6

Accessibility & contrast

On white

7.03
#8B2E9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8B2E9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B2E9F
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B2E9F#FFFFFF#000000##FFFFFF
##8B2E9F1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#385C9C
Tritanopia (blue-blind)
#8B4363
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8b2e9f;
/* rgb */ color: rgb(139, 46, 159);
/* oklch */ color: oklch(48.7% 0.186 320.0);
Tailwind
colors: {
  custom: {
    50: '#b06fbc',
    500: '#8b2e9f',
    950: '#000000',
  },
}
SCSS
$custom: #8b2e9f;
$custom-light: #b06fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b2e9f",
  "rgb": {
    "r": 139,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 289.381,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48731,
    "c": 0.1859,
    "h": 320
  },
  "luminance": 0.09946
}

Semantic roles & 50–950 ramp

primary
#8B2E9F
secondary
#7ABE6B
accent
#DE4964
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8B2E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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