#8A33A7#8A33A7

#8A33A7 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.6% C 0.187 H 316.4°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#8A33A7
RGBrgb(138, 51, 167)
HSLhsl(285, 53%, 43%)
HSVhsv(285, 69%, 65%)
CMYKcmyk(17.4%, 69.5%, 0%, 34.5%)
CIE-LABlab(38.83, 54.14, -45.79)
CIE-LCHlch(38.83, 70.91, 319.78°)
OKLaboklab(49.64% 0.1352 -0.1287)
OKLCHoklch(49.64% 0.187 316.4)
XYZxyz(18.6390, 10.5617, 37.6085)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A33A7 #50A733
analogous
#5033A7 #8A33A7 #A7338A
triadic
#8A33A7 #A78A33 #33A78A
tetradic
#8A33A7 #A75033 #50A733 #338AA7
square
#8A33A7 #A75033 #50A733 #338AA7
split-complementary
#8A33A7 #8AA733 #33A750
monochromatic
#3D1649 #632578 #8A33A7 #AA4EC9 #C17DD7

Accessibility & contrast

On white

6.75
#8A33A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8A33A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A33A7
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A33A7#FFFFFF#000000##FFFFFF
##8A33A71.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AA
Deuteranopia (green-blind)
#345EA4
Tritanopia (blue-blind)
#884A69
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8a33a7;
/* rgb */ color: rgb(138, 51, 167);
/* oklch */ color: oklch(49.6% 0.187 316.4);
Tailwind
colors: {
  custom: {
    50: '#b072c2',
    500: '#8a33a7',
    950: '#000000',
  },
}
SCSS
$custom: #8a33a7;
$custom-light: #b072c2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a33a7",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 167
  },
  "hsl": {
    "h": 285,
    "s": 53.211,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49639,
    "c": 0.18662,
    "h": 316.4
  },
  "luminance": 0.10561
}

Semantic roles & 50–950 ramp

primary
#8A33A7
secondary
#88C076
accent
#DD4B70
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #8A33A7

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

Preview Lab → · Contrast checker → · Palette generator →

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