#8B23A4#8B23A4

#8B23A4 is a mid, highly saturated purple. Relative luminance 0.094; OKLCH L 48.1% C 0.202 H 318.8°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#8B23A4
RGBrgb(139, 35, 164)
HSLhsl(288, 65%, 39%)
HSVhsv(288, 79%, 64%)
CMYKcmyk(15.2%, 78.7%, 0%, 35.7%)
CIE-LABlab(36.69, 59.74, -47.42)
CIE-LCHlch(36.69, 76.27, 321.56°)
OKLaboklab(48.09% 0.1522 -0.1333)
OKLCHoklch(48.09% 0.202 318.8)
XYZxyz(17.9484, 9.3722, 35.9784)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B23A4 #3CA423
analogous
#4B23A4 #8B23A4 #A4237D
triadic
#8B23A4 #A48B23 #23A48B
tetradic
#8B23A4 #A44B23 #3CA423 #237DA4
square
#8B23A4 #A44B23 #3CA423 #237DA4
split-complementary
#8B23A4 #7DA423 #23A44B
monochromatic
#360D3F #601872 #8B23A4 #B431D3 #C664DE

Accessibility & contrast

On white

7.31
#8B23A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#8B23A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B23A4
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B23A4#FFFFFF#000000##FFFFFF
##8B23A41.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A7
Deuteranopia (green-blind)
#2C5AA1
Tritanopia (blue-blind)
#8B3F63
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8b23a4;
/* rgb */ color: rgb(139, 35, 164);
/* oklch */ color: oklch(48.1% 0.202 318.8);
Tailwind
colors: {
  custom: {
    50: '#b16bc0',
    500: '#8b23a4',
    950: '#000000',
  },
}
SCSS
$custom: #8b23a4;
$custom-light: #b16bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b23a4",
  "rgb": {
    "r": 139,
    "g": 35,
    "b": 164
  },
  "hsl": {
    "h": 288.372,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48085,
    "c": 0.20234,
    "h": 318.8
  },
  "luminance": 0.09371
}

Semantic roles & 50–950 ramp

primary
#8B23A4
secondary
#73C360
accent
#E84061
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8B23A4

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

Preview Lab → · Contrast checker → · Palette generator →

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