#8A33BA#8A33BA

#8A33BA is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.0% C 0.205 H 310.5°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#8A33BA
RGBrgb(138, 51, 186)
HSLhsl(279, 57%, 46%)
HSVhsv(279, 73%, 73%)
CMYKcmyk(25.8%, 72.6%, 0%, 27.1%)
CIE-LABlab(40.11, 58.13, -55.00)
CIE-LCHlch(40.11, 80.03, 316.59°)
OKLaboklab(50.96% 0.1331 -0.1557)
OKLCHoklch(50.96% 0.205 310.5)
XYZxyz(20.5263, 11.3166, 47.5479)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A33BA #63BA33
analogous
#4733BA #8A33BA #BA33A7
triadic
#8A33BA #BA8A33 #33BA8A
tetradic
#8A33BA #BA4733 #63BA33 #33A7BA
square
#8A33BA #BA4733 #63BA33 #33A7BA
split-complementary
#8A33BA #A7BA33 #33BA47
monochromatic
#43195A #66268A #8A33BA #A759D1 #C089DF

Accessibility & contrast

On white

6.44
#8A33BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8A33BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A33BA
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A33BA#FFFFFF#000000##FFFFFF
##8A33BA1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#1960B7
Tritanopia (blue-blind)
#835274
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a33ba;
/* rgb */ color: rgb(138, 51, 186);
/* oklch */ color: oklch(51.0% 0.205 310.5);
Tailwind
colors: {
  custom: {
    50: '#b173d0',
    500: '#8a33ba',
    950: '#000000',
  },
}
SCSS
$custom: #8a33ba;
$custom-light: #b173d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a33ba",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 186
  },
  "hsl": {
    "h": 278.667,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.50955,
    "c": 0.20482,
    "h": 310.5
  },
  "luminance": 0.11316
}

Semantic roles & 50–950 ramp

primary
#8A33BA
secondary
#9AC980
accent
#E0487E
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8A33BA

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

Preview Lab → · Contrast checker → · Palette generator →

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