#8A32BD#8A32BD

#8A32BD is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.1% C 0.209 H 309.8°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#8A32BD
RGBrgb(138, 50, 189)
HSLhsl(278, 58%, 47%)
HSVhsv(278, 74%, 74%)
CMYKcmyk(27%, 73.5%, 0%, 25.9%)
CIE-LABlab(40.18, 59.18, -56.65)
CIE-LCHlch(40.18, 81.92, 316.26°)
OKLaboklab(51.07% 0.1336 -0.1605)
OKLCHoklch(51.07% 0.209 309.8)
XYZxyz(20.8053, 11.3590, 49.2308)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A32BD #65BD32
analogous
#4532BD #8A32BD #BD32AB
triadic
#8A32BD #BD8A32 #32BD8A
tetradic
#8A32BD #BD4532 #65BD32 #32ABBD
square
#8A32BD #BD4532 #65BD32 #32ABBD
split-complementary
#8A32BD #ABBD32 #32BD45
monochromatic
#43185C #67258D #8A32BD #A659D3 #C089E0

Accessibility & contrast

On white

6.42
#8A32BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8A32BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A32BD
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A32BD#FFFFFF#000000##FFFFFF
##8A32BD1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#0F60BA
Tritanopia (blue-blind)
#835275
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a32bd;
/* rgb */ color: rgb(138, 50, 189);
/* oklch */ color: oklch(51.1% 0.209 309.8);
Tailwind
colors: {
  custom: {
    50: '#b172d2',
    500: '#8a32bd',
    950: '#000000',
  },
}
SCSS
$custom: #8a32bd;
$custom-light: #b172d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a32bd",
  "rgb": {
    "r": 138,
    "g": 50,
    "b": 189
  },
  "hsl": {
    "h": 277.986,
    "s": 58.159,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51072,
    "c": 0.20884,
    "h": 309.8
  },
  "luminance": 0.11359
}

Semantic roles & 50–950 ramp

primary
#8A32BD
secondary
#9CCA81
accent
#E1467F
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8A32BD

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

Preview Lab → · Contrast checker → · Palette generator →

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