#8A33B9#8A33B9

#8A33B9 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.9% C 0.204 H 310.8°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#8A33B9
RGBrgb(138, 51, 185)
HSLhsl(279, 57%, 46%)
HSVhsv(279, 72%, 73%)
CMYKcmyk(25.4%, 72.4%, 0%, 27.5%)
CIE-LABlab(40.04, 57.92, -54.52)
CIE-LCHlch(40.04, 79.54, 316.73°)
OKLaboklab(50.88% 0.1332 -0.1543)
OKLCHoklch(50.88% 0.204 310.8)
XYZxyz(20.4203, 11.2742, 46.9900)
Luminance0.1127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A33B9 #62B933
analogous
#4733B9 #8A33B9 #B933A5
triadic
#8A33B9 #B98A33 #33B98A
tetradic
#8A33B9 #B94733 #62B933 #33A5B9
square
#8A33B9 #B94733 #62B933 #33A5B9
split-complementary
#8A33B9 #A5B933 #33B947
monochromatic
#421959 #662689 #8A33B9 #A758D1 #C088DE

Accessibility & contrast

On white

6.45
#8A33B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#8A33B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A33B9
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A33B9#FFFFFF#000000##FFFFFF
##8A33B91.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABD
Deuteranopia (green-blind)
#1B60B6
Tritanopia (blue-blind)
#845173
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a33b9;
/* rgb */ color: rgb(138, 51, 185);
/* oklch */ color: oklch(50.9% 0.204 310.8);
Tailwind
colors: {
  custom: {
    50: '#b173cf',
    500: '#8a33b9',
    950: '#000000',
  },
}
SCSS
$custom: #8a33b9;
$custom-light: #b173cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a33b9",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 185
  },
  "hsl": {
    "h": 278.955,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.50883,
    "c": 0.20386,
    "h": 310.8
  },
  "luminance": 0.11274
}

Semantic roles & 50–950 ramp

primary
#8A33B9
secondary
#99C880
accent
#E0487D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8A33B9

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

Preview Lab → · Contrast checker → · Palette generator →

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