#8A33B6#8A33B6

#8A33B6 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.7% C 0.201 H 311.7°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#8A33B6
RGBrgb(138, 51, 182)
HSLhsl(280, 56%, 46%)
HSVhsv(280, 72%, 71%)
CMYKcmyk(24.2%, 72%, 0%, 28.6%)
CIE-LABlab(39.83, 57.28, -53.09)
CIE-LCHlch(39.83, 78.10, 317.17°)
OKLaboklab(50.67% 0.1337 -0.1501)
OKLCHoklch(50.67% 0.201 311.7)
XYZxyz(20.1070, 11.1489, 45.3396)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A33B6 #5FB633
analogous
#4833B6 #8A33B6 #B633A0
triadic
#8A33B6 #B68A33 #33B68A
tetradic
#8A33B6 #B64833 #5FB633 #33A0B6
square
#8A33B6 #B64833 #5FB633 #33A0B6
split-complementary
#8A33B6 #A0B633 #33B648
monochromatic
#421856 #662686 #8A33B6 #A756D0 #C086DD

Accessibility & contrast

On white

6.50
#8A33B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8A33B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A33B6
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A33B6#FFFFFF#000000##FFFFFF
##8A33B61.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABA
Deuteranopia (green-blind)
#215FB3
Tritanopia (blue-blind)
#855071
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a33b6;
/* rgb */ color: rgb(138, 51, 182);
/* oklch */ color: oklch(50.7% 0.201 311.7);
Tailwind
colors: {
  custom: {
    50: '#b073cd',
    500: '#8a33b6',
    950: '#000000',
  },
}
SCSS
$custom: #8a33b6;
$custom-light: #b073cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a33b6",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 182
  },
  "hsl": {
    "h": 279.847,
    "s": 56.223,
    "l": 45.686
  },
  "oklch": {
    "l": 0.50669,
    "c": 0.20097,
    "h": 311.7
  },
  "luminance": 0.11148
}

Semantic roles & 50–950 ramp

primary
#8A33B6
secondary
#96C77E
accent
#E0487B
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8A33B6

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

Preview Lab → · Contrast checker → · Palette generator →

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