#8B23B5#8B23B5

#8B23B5 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.3% C 0.217 H 313.5°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#8B23B5
RGBrgb(139, 35, 181)
HSLhsl(283, 68%, 42%)
HSVhsv(283, 81%, 71%)
CMYKcmyk(23.2%, 80.7%, 0%, 29%)
CIE-LABlab(37.89, 63.04, -55.63)
CIE-LCHlch(37.89, 84.07, 318.58°)
OKLaboklab(49.31% 0.1493 -0.1574)
OKLCHoklch(49.31% 0.217 313.5)
XYZxyz(19.5875, 10.0279, 44.6109)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B23B5 #4DB523
analogous
#4223B5 #8B23B5 #B52396
triadic
#8B23B5 #B58B23 #23B58B
tetradic
#8B23B5 #B54223 #4DB523 #2396B5
square
#8B23B5 #B54223 #4DB523 #2396B5
split-complementary
#8B23B5 #96B523 #23B542
monochromatic
#3C0F4E #641982 #8B23B5 #AC3CD9 #C26FE3

Accessibility & contrast

On white

6.99
#8B23B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#8B23B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B23B5
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B23B5#FFFFFF#000000##FFFFFF
##8B23B51.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B9
Deuteranopia (green-blind)
#0D5BB2
Tritanopia (blue-blind)
#86476D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8b23b5;
/* rgb */ color: rgb(139, 35, 181);
/* oklch */ color: oklch(49.3% 0.217 313.5);
Tailwind
colors: {
  custom: {
    50: '#b26ccc',
    500: '#8b23b5',
    950: '#000000',
  },
}
SCSS
$custom: #8b23b5;
$custom-light: #b26ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b23b5",
  "rgb": {
    "r": 139,
    "g": 35,
    "b": 181
  },
  "hsl": {
    "h": 282.74,
    "s": 67.593,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49309,
    "c": 0.21691,
    "h": 313.5
  },
  "luminance": 0.10027
}

Semantic roles & 50–950 ramp

primary
#8B23B5
secondary
#86CA6A
accent
#EA3D6F
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8B23B5

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

Preview Lab → · Contrast checker → · Palette generator →

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