#8538AB#8538AB

#8538AB is a mid, vivid purple. Relative luminance 0.108; OKLCH L 49.8% C 0.182 H 312.4°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#8538AB
RGBrgb(133, 56, 171)
HSLhsl(280, 51%, 45%)
HSVhsv(280, 67%, 67%)
CMYKcmyk(22.2%, 67.3%, 0%, 32.9%)
CIE-LABlab(39.17, 51.65, -47.68)
CIE-LCHlch(39.17, 70.29, 317.29°)
OKLaboklab(49.81% 0.1229 -0.1344)
OKLCHoklch(49.81% 0.182 312.4)
XYZxyz(18.4364, 10.7557, 39.6250)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8538AB #5EAB38
analogous
#4C38AB #8538AB #AB3898
triadic
#8538AB #AB8538 #38AB85
tetradic
#8538AB #AB4C38 #5EAB38 #3898AB
square
#8538AB #AB4C38 #5EAB38 #3898AB
split-complementary
#8538AB #98AB38 #38AB4C
monochromatic
#3D1A4F #61297D #8538AB #A358C8 #BC86D7

Accessibility & contrast

On white

6.66
#8538AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8538AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8538AB
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8538AB#FFFFFF#000000##FFFFFF
##8538AB1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#2E5EA8
Tritanopia (blue-blind)
#814F6D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8538ab;
/* rgb */ color: rgb(133, 56, 171);
/* oklch */ color: oklch(49.8% 0.182 312.4);
Tailwind
colors: {
  custom: {
    50: '#ac74c5',
    500: '#8538ab',
    950: '#000000',
  },
}
SCSS
$custom: #8538ab;
$custom-light: #ac74c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8538ab",
  "rgb": {
    "r": 133,
    "g": 56,
    "b": 171
  },
  "hsl": {
    "h": 280.174,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49812,
    "c": 0.1821,
    "h": 312.4
  },
  "luminance": 0.10755
}

Semantic roles & 50–950 ramp

primary
#8538AB
secondary
#94C17D
accent
#DA4E7C
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8538AB

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

Preview Lab → · Contrast checker → · Palette generator →

#8538AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva