#8A33B0#8A33B0

#8A33B0 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.2% C 0.195 H 313.5°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#8A33B0
RGBrgb(138, 51, 176)
HSLhsl(282, 55%, 45%)
HSVhsv(282, 71%, 69%)
CMYKcmyk(21.6%, 71%, 0%, 31%)
CIE-LABlab(39.42, 56.01, -50.20)
CIE-LCHlch(39.42, 75.21, 318.13°)
OKLaboklab(50.25% 0.1344 -0.1416)
OKLCHoklch(50.25% 0.195 313.5)
XYZxyz(19.5002, 10.9061, 42.1438)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A33B0 #59B033
analogous
#4C33B0 #8A33B0 #B03398
triadic
#8A33B0 #B08A33 #33B08A
tetradic
#8A33B0 #B04C33 #59B033 #3398B0
square
#8A33B0 #B04C33 #59B033 #3398B0
split-complementary
#8A33B0 #98B033 #33B04C
monochromatic
#401851 #652581 #8A33B0 #A853CD #C082DB

Accessibility & contrast

On white

6.60
#8A33B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#8A33B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A33B0
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A33B0#FFFFFF#000000##FFFFFF
##8A33B01.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B4
Deuteranopia (green-blind)
#2A5FAD
Tritanopia (blue-blind)
#864D6E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8a33b0;
/* rgb */ color: rgb(138, 51, 176);
/* oklch */ color: oklch(50.2% 0.195 313.5);
Tailwind
colors: {
  custom: {
    50: '#b072c8',
    500: '#8a33b0',
    950: '#000000',
  },
}
SCSS
$custom: #8a33b0;
$custom-light: #b072c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a33b0",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 176
  },
  "hsl": {
    "h": 281.76,
    "s": 55.066,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50249,
    "c": 0.19521,
    "h": 313.5
  },
  "luminance": 0.10906
}

Semantic roles & 50–950 ramp

primary
#8A33B0
secondary
#91C47B
accent
#DE4977
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A33B0

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

Preview Lab → · Contrast checker → · Palette generator →

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