#8A33C3#8A33C3

#8A33C3 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.6% C 0.213 H 308.1°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#8A33C3
RGBrgb(138, 51, 195)
HSLhsl(276, 59%, 48%)
HSVhsv(276, 74%, 76%)
CMYKcmyk(29.2%, 73.8%, 0%, 23.5%)
CIE-LABlab(40.75, 60.09, -59.22)
CIE-LCHlch(40.75, 84.37, 315.41°)
OKLaboklab(51.62% 0.1316 -0.1681)
OKLCHoklch(51.62% 0.214 308.1)
XYZxyz(21.5133, 11.7114, 52.7464)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A33C3 #6CC333
analogous
#4233C3 #8A33C3 #C333B4
triadic
#8A33C3 #C38A33 #33C38A
tetradic
#8A33C3 #C34233 #6CC333 #33B4C3
square
#8A33C3 #C34233 #6CC333 #33B4C3
split-complementary
#8A33C3 #B4C333 #33C342
monochromatic
#451A62 #682692 #8A33C3 #A65ED5 #C18FE2

Accessibility & contrast

On white

6.28
#8A33C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#8A33C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A33C3
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A33C3#FFFFFF#000000##FFFFFF
##8A33C31.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC7
Deuteranopia (green-blind)
#0061C0
Tritanopia (blue-blind)
#815579
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a33c3;
/* rgb */ color: rgb(138, 51, 195);
/* oklch */ color: oklch(51.6% 0.213 308.1);
Tailwind
colors: {
  custom: {
    50: '#b173d6',
    500: '#8a33c3',
    950: '#000000',
  },
}
SCSS
$custom: #8a33c3;
$custom-light: #b173d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a33c3",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 195
  },
  "hsl": {
    "h": 276.25,
    "s": 58.537,
    "l": 48.235
  },
  "oklch": {
    "l": 0.51615,
    "c": 0.2135,
    "h": 308.1
  },
  "luminance": 0.11711
}

Semantic roles & 50–950 ramp

primary
#8A33C3
secondary
#A2CC86
accent
#E24684
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8A33C3

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

Preview Lab → · Contrast checker → · Palette generator →

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