#8A33C6#8A33C6

#8A33C6 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.8% C 0.216 H 307.3°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#8A33C6
RGBrgb(138, 51, 198)
HSLhsl(276, 59%, 49%)
HSVhsv(276, 74%, 78%)
CMYKcmyk(30.3%, 74.2%, 0%, 22.4%)
CIE-LABlab(40.97, 60.75, -60.61)
CIE-LCHlch(40.97, 85.81, 315.06°)
OKLaboklab(51.84% 0.1311 -0.1722)
OKLCHoklch(51.84% 0.216 307.3)
XYZxyz(21.8559, 11.8484, 54.5507)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A33C6 #6FC633
analogous
#4133C6 #8A33C6 #C633B9
triadic
#8A33C6 #C68A33 #33C68A
tetradic
#8A33C6 #C64133 #6FC633 #33B9C6
square
#8A33C6 #C64133 #6FC633 #33B9C6
split-complementary
#8A33C6 #B9C633 #33C641
monochromatic
#461A65 #682695 #8A33C6 #A660D6 #C191E3

Accessibility & contrast

On white

6.23
#8A33C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#8A33C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A33C6
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A33C6#FFFFFF#000000##FFFFFF
##8A33C61.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECA
Deuteranopia (green-blind)
#0061C3
Tritanopia (blue-blind)
#80577A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a33c6;
/* rgb */ color: rgb(138, 51, 198);
/* oklch */ color: oklch(51.8% 0.216 307.3);
Tailwind
colors: {
  custom: {
    50: '#b173d8',
    500: '#8a33c6',
    950: '#000000',
  },
}
SCSS
$custom: #8a33c6;
$custom-light: #b173d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a33c6",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 198
  },
  "hsl": {
    "h": 275.51,
    "s": 59.036,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5184,
    "c": 0.2164,
    "h": 307.3
  },
  "luminance": 0.11848
}

Semantic roles & 50–950 ramp

primary
#8A33C6
secondary
#A4CD87
accent
#E24686
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110915
muted
#807B83

Preview Lab

Preview with #8A33C6

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

Preview Lab → · Contrast checker → · Palette generator →

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