#8B38AE#8B38AE

#8B38AE is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.8% C 0.187 H 314.1°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#8B38AE
RGBrgb(139, 56, 174)
HSLhsl(282, 51%, 45%)
HSVhsv(282, 68%, 68%)
CMYKcmyk(20.1%, 67.8%, 0%, 31.8%)
CIE-LABlab(40.20, 53.65, -47.75)
CIE-LCHlch(40.20, 71.82, 318.33°)
OKLaboklab(50.8% 0.1304 -0.1344)
OKLCHoklch(50.8% 0.187 314.1)
XYZxyz(19.7003, 11.3739, 41.1938)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B38AE #5BAE38
analogous
#5038AE #8B38AE #AE3896
triadic
#8B38AE #AE8B38 #38AE8B
tetradic
#8B38AE #AE5038 #5BAE38 #3896AE
square
#8B38AE #AE5038 #5BAE38 #3896AE
split-complementary
#8B38AE #96AE38 #38AE50
monochromatic
#411A51 #662980 #8B38AE #A859CA #C188D9

Accessibility & contrast

On white

6.41
#8B38AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8B38AE
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B38AE#FFFFFF#000000##FFFFFF
##8B38AE1.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#3261AB
Tritanopia (blue-blind)
#884F6E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8b38ae;
/* rgb */ color: rgb(139, 56, 174);
/* oklch */ color: oklch(50.8% 0.187 314.1);
Tailwind
colors: {
  custom: {
    50: '#b075c7',
    500: '#8b38ae',
    950: '#000000',
  },
}
SCSS
$custom: #8b38ae;
$custom-light: #b075c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b38ae",
  "rgb": {
    "r": 139,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 282.203,
    "s": 51.304,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50795,
    "c": 0.18728,
    "h": 314.1
  },
  "luminance": 0.11373
}

Semantic roles & 50–950 ramp

primary
#8B38AE
secondary
#93C37F
accent
#DB4D77
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8B38AE

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

Preview Lab → · Contrast checker → · Palette generator →

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