#8A33C5#8A33C5

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

Color values

HEX#8A33C5
RGBrgb(138, 51, 197)
HSLhsl(276, 59%, 49%)
HSVhsv(276, 74%, 77%)
CMYKcmyk(29.9%, 74.1%, 0%, 22.7%)
CIE-LABlab(40.90, 60.53, -60.15)
CIE-LCHlch(40.90, 85.33, 315.18°)
OKLaboklab(51.77% 0.1312 -0.1708)
OKLCHoklch(51.77% 0.215 307.5)
XYZxyz(21.7410, 11.8024, 53.9453)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A33C5 #6EC533
analogous
#4133C5 #8A33C5 #C533B7
triadic
#8A33C5 #C58A33 #33C58A
tetradic
#8A33C5 #C54133 #6EC533 #33B7C5
square
#8A33C5 #C54133 #6EC533 #33B7C5
split-complementary
#8A33C5 #B7C533 #33C541
monochromatic
#461A64 #682694 #8A33C5 #A65FD6 #C190E2

Accessibility & contrast

On white

6.25
#8A33C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8A33C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A33C5
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A33C5#FFFFFF#000000##FFFFFF
##8A33C51.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC9
Deuteranopia (green-blind)
#0061C2
Tritanopia (blue-blind)
#80567A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a33c5;
/* rgb */ color: rgb(138, 51, 197);
/* oklch */ color: oklch(51.8% 0.215 307.5);
Tailwind
colors: {
  custom: {
    50: '#b173d7',
    500: '#8a33c5',
    950: '#000000',
  },
}
SCSS
$custom: #8a33c5;
$custom-light: #b173d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a33c5",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 197
  },
  "hsl": {
    "h": 275.753,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.51765,
    "c": 0.21543,
    "h": 307.5
  },
  "luminance": 0.11802
}

Semantic roles & 50–950 ramp

primary
#8A33C5
secondary
#A3CD87
accent
#E24685
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A33C5

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

Preview Lab → · Contrast checker → · Palette generator →

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