#8A33C0#8A33C0

#8A33C0 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.4% C 0.211 H 308.9°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#8A33C0
RGBrgb(138, 51, 192)
HSLhsl(277, 58%, 48%)
HSVhsv(277, 73%, 75%)
CMYKcmyk(28.1%, 73.4%, 0%, 24.7%)
CIE-LABlab(40.54, 59.43, -57.82)
CIE-LCHlch(40.54, 82.92, 315.79°)
OKLaboklab(51.39% 0.1321 -0.164)
OKLCHoklch(51.39% 0.211 308.9)
XYZxyz(21.1775, 11.5771, 50.9779)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A33C0 #69C033
analogous
#4333C0 #8A33C0 #C033B0
triadic
#8A33C0 #C08A33 #33C08A
tetradic
#8A33C0 #C04333 #69C033 #33B0C0
square
#8A33C0 #C04333 #69C033 #33B0C0
split-complementary
#8A33C0 #B0C033 #33C043
monochromatic
#44195F #672690 #8A33C0 #A65CD4 #C18DE1

Accessibility & contrast

On white

6.33
#8A33C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8A33C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A33C0
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A33C0#FFFFFF#000000##FFFFFF
##8A33C01.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC4
Deuteranopia (green-blind)
#0661BD
Tritanopia (blue-blind)
#825477
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a33c0;
/* rgb */ color: rgb(138, 51, 192);
/* oklch */ color: oklch(51.4% 0.211 308.9);
Tailwind
colors: {
  custom: {
    50: '#b173d4',
    500: '#8a33c0',
    950: '#000000',
  },
}
SCSS
$custom: #8a33c0;
$custom-light: #b173d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a33c0",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 192
  },
  "hsl": {
    "h": 277.021,
    "s": 58.025,
    "l": 47.647
  },
  "oklch": {
    "l": 0.51392,
    "c": 0.21061,
    "h": 308.9
  },
  "luminance": 0.11577
}

Semantic roles & 50–950 ramp

primary
#8A33C0
secondary
#9FCB84
accent
#E14782
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A33C0

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

Preview Lab → · Contrast checker → · Palette generator →

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