#8A33DA#8A33DA

#8A33DA is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.4% C 0.236 H 302.5°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8A33DA
RGBrgb(138, 51, 218)
HSLhsl(271, 69%, 53%)
HSVhsv(271, 77%, 85%)
CMYKcmyk(36.7%, 76.6%, 0%, 14.5%)
CIE-LABlab(42.51, 65.22, -69.66)
CIE-LCHlch(42.51, 95.43, 313.11°)
OKLaboklab(53.4% 0.1267 -0.1988)
OKLCHoklch(53.4% 0.236 302.5)
XYZxyz(24.3169, 12.8328, 67.5120)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A33DA #83DA33
analogous
#3633DA #8A33DA #DA33D7
triadic
#8A33DA #DA8A33 #33DA8A
tetradic
#8A33DA #DA3633 #83DA33 #33D7DA
square
#8A33DA #DA3633 #83DA33 #33D7DA
split-complementary
#8A33DA #D7DA33 #33DA36
monochromatic
#4B177C #6B20B0 #8A33DA #A867E3 #C59BED

Accessibility & contrast

On white

5.89
#8A33DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#8A33DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A33DA
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A33DA#FFFFFF#000000##FFFFFF
##8A33DA1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DF
Deuteranopia (green-blind)
#0064D7
Tritanopia (blue-blind)
#795F86
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8a33da;
/* rgb */ color: rgb(138, 51, 218);
/* oklch */ color: oklch(53.4% 0.236 302.5);
Tailwind
colors: {
  custom: {
    50: '#b374e7',
    500: '#8a33da',
    950: '#000000',
  },
}
SCSS
$custom: #8a33da;
$custom-light: #b374e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a33da",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 218
  },
  "hsl": {
    "h": 271.257,
    "s": 69.295,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53399,
    "c": 0.23571,
    "h": 302.5
  },
  "luminance": 0.12833
}

Semantic roles & 50–950 ramp

primary
#8A33DA
secondary
#B3D990
accent
#EC3C90
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8A33DA

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

Preview Lab → · Contrast checker → · Palette generator →

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