#8A33C9#8A33C9

#8A33C9 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.1% C 0.219 H 306.5°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8A33C9
RGBrgb(138, 51, 201)
HSLhsl(275, 60%, 49%)
HSVhsv(275, 75%, 79%)
CMYKcmyk(31.3%, 74.6%, 0%, 21.2%)
CIE-LABlab(41.20, 61.41, -62.00)
CIE-LCHlch(41.20, 87.26, 314.73°)
OKLaboklab(52.07% 0.1305 -0.1763)
OKLCHoklch(52.07% 0.219 306.5)
XYZxyz(22.2054, 11.9882, 56.3912)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A33C9 #72C933
analogous
#3F33C9 #8A33C9 #C933BD
triadic
#8A33C9 #C98A33 #33C98A
tetradic
#8A33C9 #C93F33 #72C933 #33BDC9
square
#8A33C9 #C93F33 #72C933 #33BDC9
split-complementary
#8A33C9 #BDC933 #33C93F
monochromatic
#471A67 #682798 #8A33C9 #A662D7 #C293E4

Accessibility & contrast

On white

6.18
#8A33C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8A33C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A33C9
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A33C9#FFFFFF#000000##FFFFFF
##8A33C91.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECD
Deuteranopia (green-blind)
#0062C6
Tritanopia (blue-blind)
#7F587C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a33c9;
/* rgb */ color: rgb(138, 51, 201);
/* oklch */ color: oklch(52.1% 0.219 306.5);
Tailwind
colors: {
  custom: {
    50: '#b273da',
    500: '#8a33c9',
    950: '#000000',
  },
}
SCSS
$custom: #8a33c9;
$custom-light: #b273da;
$custom-dark: #000000;
JSON
{
  "hex": "#8a33c9",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 201
  },
  "hsl": {
    "h": 274.8,
    "s": 59.524,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52067,
    "c": 0.21929,
    "h": 306.5
  },
  "luminance": 0.11988
}

Semantic roles & 50–950 ramp

primary
#8A33C9
secondary
#A6CF89
accent
#E34587
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8A33C9

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

Preview Lab → · Contrast checker → · Palette generator →

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