#8B38AD#8B38AD

#8B38AD is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.7% C 0.186 H 314.5°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#8B38AD
RGBrgb(139, 56, 173)
HSLhsl(283, 51%, 45%)
HSVhsv(283, 68%, 68%)
CMYKcmyk(19.7%, 67.6%, 0%, 32.2%)
CIE-LABlab(40.14, 53.44, -47.26)
CIE-LCHlch(40.14, 71.33, 318.51°)
OKLaboklab(50.73% 0.1305 -0.133)
OKLCHoklch(50.73% 0.186 314.5)
XYZxyz(19.6032, 11.3351, 40.6823)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B38AD #5AAD38
analogous
#5038AD #8B38AD #AD3895
triadic
#8B38AD #AD8B38 #38AD8B
tetradic
#8B38AD #AD5038 #5AAD38 #3895AD
square
#8B38AD #AD5038 #5AAD38 #3895AD
split-complementary
#8B38AD #95AD38 #38AD50
monochromatic
#411A51 #66297F #8B38AD #A959C9 #C187D8

Accessibility & contrast

On white

6.43
#8B38AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8B38AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B38AD
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B38AD#FFFFFF#000000##FFFFFF
##8B38AD1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB0
Deuteranopia (green-blind)
#3361AA
Tritanopia (blue-blind)
#884F6E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8b38ad;
/* rgb */ color: rgb(139, 56, 173);
/* oklch */ color: oklch(50.7% 0.186 314.5);
Tailwind
colors: {
  custom: {
    50: '#b075c6',
    500: '#8b38ad',
    950: '#000000',
  },
}
SCSS
$custom: #8b38ad;
$custom-light: #b075c6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b38ad",
  "rgb": {
    "r": 139,
    "g": 56,
    "b": 173
  },
  "hsl": {
    "h": 282.564,
    "s": 51.092,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50729,
    "c": 0.1863,
    "h": 314.5
  },
  "luminance": 0.11334
}

Semantic roles & 50–950 ramp

primary
#8B38AD
secondary
#92C27F
accent
#DB4D76
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8B38AD

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

Preview Lab → · Contrast checker → · Palette generator →

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