#8A33B3#8A33B3

#8A33B3 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.5% C 0.198 H 312.6°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#8A33B3
RGBrgb(138, 51, 179)
HSLhsl(281, 56%, 45%)
HSVhsv(281, 72%, 70%)
CMYKcmyk(22.9%, 71.5%, 0%, 29.8%)
CIE-LABlab(39.62, 56.64, -51.65)
CIE-LCHlch(39.62, 76.65, 317.64°)
OKLaboklab(50.46% 0.134 -0.1459)
OKLCHoklch(50.46% 0.198 312.6)
XYZxyz(19.8003, 11.0262, 43.7243)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A33B3 #5CB333
analogous
#4A33B3 #8A33B3 #B3339C
triadic
#8A33B3 #B38A33 #33B38A
tetradic
#8A33B3 #B34A33 #5CB333 #339CB3
square
#8A33B3 #B34A33 #5CB333 #339CB3
split-complementary
#8A33B3 #9CB333 #33B34A
monochromatic
#411854 #652583 #8A33B3 #A755CE #C084DC

Accessibility & contrast

On white

6.55
#8A33B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8A33B3
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A33B3#FFFFFF#000000##FFFFFF
##8A33B31.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#265FB0
Tritanopia (blue-blind)
#854F70
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8a33b3;
/* rgb */ color: rgb(138, 51, 179);
/* oklch */ color: oklch(50.5% 0.198 312.6);
Tailwind
colors: {
  custom: {
    50: '#b072ca',
    500: '#8a33b3',
    950: '#000000',
  },
}
SCSS
$custom: #8a33b3;
$custom-light: #b072ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8a33b3",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 179
  },
  "hsl": {
    "h": 280.781,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50457,
    "c": 0.19809,
    "h": 312.6
  },
  "luminance": 0.11026
}

Semantic roles & 50–950 ramp

primary
#8A33B3
secondary
#94C67C
accent
#DF4979
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A33B3

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

Preview Lab → · Contrast checker → · Palette generator →

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