#8B23A0#8B23A0

#8B23A0 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.8% C 0.199 H 320.1°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#8B23A0
RGBrgb(139, 35, 160)
HSLhsl(290, 64%, 38%)
HSVhsv(290, 78%, 63%)
CMYKcmyk(13.1%, 78.1%, 0%, 37.3%)
CIE-LABlab(36.42, 58.99, -45.44)
CIE-LCHlch(36.42, 74.46, 322.39°)
OKLaboklab(47.81% 0.1527 -0.1275)
OKLCHoklch(47.81% 0.199 320.1)
XYZxyz(17.5929, 9.2300, 34.1058)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B23A0 #38A023
analogous
#4C23A0 #8B23A0 #A02376
triadic
#8B23A0 #A08B23 #23A08B
tetradic
#8B23A0 #A04C23 #38A023 #2376A0
square
#8B23A0 #A04C23 #38A023 #2376A0
split-complementary
#8B23A0 #76A023 #23A04C
monochromatic
#340D3C #5F186E #8B23A0 #B62FD1 #C861DC

Accessibility & contrast

On white

7.38
#8B23A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8B23A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B23A0
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B23A0#FFFFFF#000000##FFFFFF
##8B23A01.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA3
Deuteranopia (green-blind)
#30599D
Tritanopia (blue-blind)
#8B3D61
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8b23a0;
/* rgb */ color: rgb(139, 35, 160);
/* oklch */ color: oklch(47.8% 0.199 320.1);
Tailwind
colors: {
  custom: {
    50: '#b16bbd',
    500: '#8b23a0',
    950: '#000000',
  },
}
SCSS
$custom: #8b23a0;
$custom-light: #b16bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b23a0",
  "rgb": {
    "r": 139,
    "g": 35,
    "b": 160
  },
  "hsl": {
    "h": 289.92,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4781,
    "c": 0.19897,
    "h": 320.1
  },
  "luminance": 0.09229
}

Semantic roles & 50–950 ramp

primary
#8B23A0
secondary
#6EC15D
accent
#E7415D
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8B23A0

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

Preview Lab → · Contrast checker → · Palette generator →

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