#8A33C4#8A33C4

#8A33C4 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.7% C 0.214 H 307.8°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#8A33C4
RGBrgb(138, 51, 196)
HSLhsl(276, 59%, 48%)
HSVhsv(276, 74%, 77%)
CMYKcmyk(29.6%, 74%, 0%, 23.1%)
CIE-LABlab(40.83, 60.31, -59.69)
CIE-LCHlch(40.83, 84.85, 315.29°)
OKLaboklab(51.69% 0.1314 -0.1695)
OKLCHoklch(51.69% 0.214 307.8)
XYZxyz(21.6268, 11.7568, 53.3438)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A33C4 #6DC433
analogous
#4133C4 #8A33C4 #C433B5
triadic
#8A33C4 #C48A33 #33C48A
tetradic
#8A33C4 #C44133 #6DC433 #33B5C4
square
#8A33C4 #C44133 #6DC433 #33B5C4
split-complementary
#8A33C4 #B5C433 #33C441
monochromatic
#461A63 #682693 #8A33C4 #A65FD5 #C18FE2

Accessibility & contrast

On white

6.27
#8A33C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#8A33C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A33C4
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A33C4#FFFFFF#000000##FFFFFF
##8A33C41.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC8
Deuteranopia (green-blind)
#0061C1
Tritanopia (blue-blind)
#815679
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8a33c4;
/* rgb */ color: rgb(138, 51, 196);
/* oklch */ color: oklch(51.7% 0.214 307.8);
Tailwind
colors: {
  custom: {
    50: '#b173d7',
    500: '#8a33c4',
    950: '#000000',
  },
}
SCSS
$custom: #8a33c4;
$custom-light: #b173d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a33c4",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 196
  },
  "hsl": {
    "h": 276,
    "s": 58.704,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5169,
    "c": 0.21447,
    "h": 307.8
  },
  "luminance": 0.11756
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A33C4

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

Preview Lab → · Contrast checker → · Palette generator →

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