#8A33AF#8A33AF

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

Color values

HEX#8A33AF
RGBrgb(138, 51, 175)
HSLhsl(282, 55%, 44%)
HSVhsv(282, 71%, 69%)
CMYKcmyk(21.1%, 70.9%, 0%, 31.4%)
CIE-LABlab(39.35, 55.80, -49.71)
CIE-LCHlch(39.35, 74.73, 318.30°)
OKLaboklab(50.18% 0.1345 -0.1402)
OKLCHoklch(50.18% 0.194 313.8)
XYZxyz(19.4016, 10.8667, 41.6246)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A33AF #58AF33
analogous
#4C33AF #8A33AF #AF3396
triadic
#8A33AF #AF8A33 #33AF8A
tetradic
#8A33AF #AF4C33 #58AF33 #3396AF
square
#8A33AF #AF4C33 #58AF33 #3396AF
split-complementary
#8A33AF #96AF33 #33AF4C
monochromatic
#3F1750 #652580 #8A33AF #A852CD #C082DB

Accessibility & contrast

On white

6.62
#8A33AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#8A33AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A33AF
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A33AF#FFFFFF#000000##FFFFFF
##8A33AF1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#2B5FAC
Tritanopia (blue-blind)
#864D6D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8a33af;
/* rgb */ color: rgb(138, 51, 175);
/* oklch */ color: oklch(50.2% 0.194 313.8);
Tailwind
colors: {
  custom: {
    50: '#b072c8',
    500: '#8a33af',
    950: '#000000',
  },
}
SCSS
$custom: #8a33af;
$custom-light: #b072c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a33af",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 175
  },
  "hsl": {
    "h": 282.097,
    "s": 54.867,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5018,
    "c": 0.19426,
    "h": 313.8
  },
  "luminance": 0.10866
}

Semantic roles & 50–950 ramp

primary
#8A33AF
secondary
#90C47A
accent
#DE4A76
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A33AF

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

Preview Lab → · Contrast checker → · Palette generator →

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