#8A33C7#8A33C7

#8A33C7 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.9% C 0.217 H 307.0°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#8A33C7
RGBrgb(138, 51, 199)
HSLhsl(275, 59%, 49%)
HSVhsv(275, 74%, 78%)
CMYKcmyk(30.7%, 74.4%, 0%, 22%)
CIE-LABlab(41.05, 60.97, -61.08)
CIE-LCHlch(41.05, 86.30, 314.95°)
OKLaboklab(51.92% 0.1309 -0.1736)
OKLCHoklch(51.92% 0.217 307)
XYZxyz(21.9716, 11.8947, 55.1602)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A33C7 #70C733
analogous
#4033C7 #8A33C7 #C733BA
triadic
#8A33C7 #C78A33 #33C78A
tetradic
#8A33C7 #C74033 #70C733 #33BAC7
square
#8A33C7 #C74033 #70C733 #33BAC7
split-complementary
#8A33C7 #BAC733 #33C740
monochromatic
#461A66 #682796 #8A33C7 #A661D6 #C191E3

Accessibility & contrast

On white

6.22
#8A33C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8A33C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A33C7
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A33C7#FFFFFF#000000##FFFFFF
##8A33C71.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECB
Deuteranopia (green-blind)
#0061C4
Tritanopia (blue-blind)
#80577B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a33c7;
/* rgb */ color: rgb(138, 51, 199);
/* oklch */ color: oklch(51.9% 0.217 307.0);
Tailwind
colors: {
  custom: {
    50: '#b173d9',
    500: '#8a33c7',
    950: '#000000',
  },
}
SCSS
$custom: #8a33c7;
$custom-light: #b173d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a33c7",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 199
  },
  "hsl": {
    "h": 275.27,
    "s": 59.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.51916,
    "c": 0.21736,
    "h": 307
  },
  "luminance": 0.11894
}

Semantic roles & 50–950 ramp

primary
#8A33C7
secondary
#A5CE88
accent
#E24586
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8A33C7

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

Preview Lab → · Contrast checker → · Palette generator →

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