#8A33B5#8A33B5

#8A33B5 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.6% C 0.200 H 312.0°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#8A33B5
RGBrgb(138, 51, 181)
HSLhsl(280, 56%, 45%)
HSVhsv(280, 72%, 71%)
CMYKcmyk(23.8%, 71.8%, 0%, 29%)
CIE-LABlab(39.76, 57.06, -52.61)
CIE-LCHlch(39.76, 77.62, 317.33°)
OKLaboklab(50.6% 0.1338 -0.1487)
OKLCHoklch(50.6% 0.2 312)
XYZxyz(20.0040, 11.1077, 44.7973)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A33B5 #5EB533
analogous
#4933B5 #8A33B5 #B5339F
triadic
#8A33B5 #B58A33 #33B58A
tetradic
#8A33B5 #B54933 #5EB533 #339FB5
square
#8A33B5 #B54933 #5EB533 #339FB5
split-complementary
#8A33B5 #9FB533 #33B549
monochromatic
#411856 #662685 #8A33B5 #A756CF #C086DD

Accessibility & contrast

On white

6.52
#8A33B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#8A33B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A33B5
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A33B5#FFFFFF#000000##FFFFFF
##8A33B51.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#235FB2
Tritanopia (blue-blind)
#854F71
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a33b5;
/* rgb */ color: rgb(138, 51, 181);
/* oklch */ color: oklch(50.6% 0.200 312.0);
Tailwind
colors: {
  custom: {
    50: '#b073cc',
    500: '#8a33b5',
    950: '#000000',
  },
}
SCSS
$custom: #8a33b5;
$custom-light: #b073cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a33b5",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 181
  },
  "hsl": {
    "h": 280.154,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.50598,
    "c": 0.20001,
    "h": 312
  },
  "luminance": 0.11107
}

Semantic roles & 50–950 ramp

primary
#8A33B5
secondary
#96C67D
accent
#DF487A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8A33B5

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

Preview Lab → · Contrast checker → · Palette generator →

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