#8A33B4#8A33B4

#8A33B4 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.5% C 0.199 H 312.3°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#8A33B4
RGBrgb(138, 51, 180)
HSLhsl(280, 56%, 45%)
HSVhsv(280, 72%, 71%)
CMYKcmyk(23.3%, 71.7%, 0%, 29.4%)
CIE-LABlab(39.69, 56.85, -52.13)
CIE-LCHlch(39.69, 77.14, 317.48°)
OKLaboklab(50.53% 0.1339 -0.1473)
OKLCHoklch(50.53% 0.199 312.3)
XYZxyz(19.9018, 11.0668, 44.2589)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A33B4 #5DB433
analogous
#4933B4 #8A33B4 #B4339D
triadic
#8A33B4 #B48A33 #33B48A
tetradic
#8A33B4 #B44933 #5DB433 #339DB4
square
#8A33B4 #B44933 #5DB433 #339DB4
split-complementary
#8A33B4 #9DB433 #33B449
monochromatic
#411855 #652584 #8A33B4 #A755CF #C085DC

Accessibility & contrast

On white

6.54
#8A33B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#8A33B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A33B4
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A33B4#FFFFFF#000000##FFFFFF
##8A33B41.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B8
Deuteranopia (green-blind)
#245FB1
Tritanopia (blue-blind)
#854F70
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8a33b4;
/* rgb */ color: rgb(138, 51, 180);
/* oklch */ color: oklch(50.5% 0.199 312.3);
Tailwind
colors: {
  custom: {
    50: '#b073cb',
    500: '#8a33b4',
    950: '#000000',
  },
}
SCSS
$custom: #8a33b4;
$custom-light: #b073cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a33b4",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 180
  },
  "hsl": {
    "h": 280.465,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50527,
    "c": 0.19905,
    "h": 312.3
  },
  "luminance": 0.11066
}

Semantic roles & 50–950 ramp

primary
#8A33B4
secondary
#95C67D
accent
#DF497A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8A33B4

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

Preview Lab → · Contrast checker → · Palette generator →

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