#8A33C2#8A33C2

#8A33C2 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.5% C 0.213 H 308.3°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#8A33C2
RGBrgb(138, 51, 194)
HSLhsl(277, 58%, 48%)
HSVhsv(277, 74%, 76%)
CMYKcmyk(28.9%, 73.7%, 0%, 23.9%)
CIE-LABlab(40.68, 59.87, -58.76)
CIE-LCHlch(40.68, 83.89, 315.54°)
OKLaboklab(51.54% 0.1318 -0.1667)
OKLCHoklch(51.54% 0.213 308.3)
XYZxyz(21.4006, 11.6663, 52.1529)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A33C2 #6BC233
analogous
#4233C2 #8A33C2 #C233B3
triadic
#8A33C2 #C28A33 #33C28A
tetradic
#8A33C2 #C24233 #6BC233 #33B3C2
square
#8A33C2 #C24233 #6BC233 #33B3C2
split-complementary
#8A33C2 #B3C233 #33C242
monochromatic
#451A61 #682692 #8A33C2 #A65ED5 #C18EE1

Accessibility & contrast

On white

6.30
#8A33C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#8A33C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A33C2
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A33C2#FFFFFF#000000##FFFFFF
##8A33C21.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#0061BF
Tritanopia (blue-blind)
#815578
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a33c2;
/* rgb */ color: rgb(138, 51, 194);
/* oklch */ color: oklch(51.5% 0.213 308.3);
Tailwind
colors: {
  custom: {
    50: '#b173d5',
    500: '#8a33c2',
    950: '#000000',
  },
}
SCSS
$custom: #8a33c2;
$custom-light: #b173d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a33c2",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 194
  },
  "hsl": {
    "h": 276.503,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51541,
    "c": 0.21253,
    "h": 308.3
  },
  "luminance": 0.11666
}

Semantic roles & 50–950 ramp

primary
#8A33C2
secondary
#A1CC85
accent
#E24683
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A33C2

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

Preview Lab → · Contrast checker → · Palette generator →

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