#8B239D#8B239D

#8B239D is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.6% C 0.196 H 321.2°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#8B239D
RGBrgb(139, 35, 157)
HSLhsl(291, 64%, 38%)
HSVhsv(291, 78%, 62%)
CMYKcmyk(11.5%, 77.7%, 0%, 38.4%)
CIE-LABlab(36.23, 58.43, -43.94)
CIE-LCHlch(36.23, 73.11, 323.05°)
OKLaboklab(47.61% 0.1531 -0.1231)
OKLCHoklch(47.61% 0.196 321.2)
XYZxyz(17.3336, 9.1263, 32.7403)
Luminance0.0912 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B239D #359D23
analogous
#4E239D #8B239D #9D2372
triadic
#8B239D #9D8B23 #239D8B
tetradic
#8B239D #9D4E23 #359D23 #23729D
square
#8B239D #9D4E23 #359D23 #23729D
split-complementary
#8B239D #729D23 #239D4E
monochromatic
#320D39 #5F186B #8B239D #B72ECF #C95FDB

Accessibility & contrast

On white

7.43
#8B239D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8B239D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B239D
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B239D#FFFFFF#000000##FFFFFF
##8B239D1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA0
Deuteranopia (green-blind)
#32599A
Tritanopia (blue-blind)
#8C3C5F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8b239d;
/* rgb */ color: rgb(139, 35, 157);
/* oklch */ color: oklch(47.6% 0.196 321.2);
Tailwind
colors: {
  custom: {
    50: '#b16aba',
    500: '#8b239d',
    950: '#000000',
  },
}
SCSS
$custom: #8b239d;
$custom-light: #b16aba;
$custom-dark: #000000;
JSON
{
  "hex": "#8b239d",
  "rgb": {
    "r": 139,
    "g": 35,
    "b": 157
  },
  "hsl": {
    "h": 291.148,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47608,
    "c": 0.19644,
    "h": 321.2
  },
  "luminance": 0.09125
}

Semantic roles & 50–950 ramp

primary
#8B239D
secondary
#6AC05C
accent
#E7415A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8B239D

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

Preview Lab → · Contrast checker → · Palette generator →

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