#8A33B8#8A33B8

#8A33B8 is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.8% C 0.203 H 311.1°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#8A33B8
RGBrgb(138, 51, 184)
HSLhsl(279, 57%, 46%)
HSVhsv(279, 72%, 72%)
CMYKcmyk(25%, 72.3%, 0%, 27.8%)
CIE-LABlab(39.97, 57.70, -54.05)
CIE-LCHlch(39.97, 79.06, 316.88°)
OKLaboklab(50.81% 0.1334 -0.1529)
OKLCHoklch(50.81% 0.203 311.1)
XYZxyz(20.3151, 11.2321, 46.4360)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A33B8 #61B833
analogous
#4733B8 #8A33B8 #B833A3
triadic
#8A33B8 #B88A33 #33B88A
tetradic
#8A33B8 #B84733 #61B833 #33A3B8
square
#8A33B8 #B84733 #61B833 #33A3B8
split-complementary
#8A33B8 #A3B833 #33B847
monochromatic
#421858 #662688 #8A33B8 #A758D1 #C088DE

Accessibility & contrast

On white

6.47
#8A33B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#8A33B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A33B8
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A33B8#FFFFFF#000000##FFFFFF
##8A33B81.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABC
Deuteranopia (green-blind)
#1D60B5
Tritanopia (blue-blind)
#845172
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a33b8;
/* rgb */ color: rgb(138, 51, 184);
/* oklch */ color: oklch(50.8% 0.203 311.1);
Tailwind
colors: {
  custom: {
    50: '#b173ce',
    500: '#8a33b8',
    950: '#000000',
  },
}
SCSS
$custom: #8a33b8;
$custom-light: #b173ce;
$custom-dark: #000000;
JSON
{
  "hex": "#8a33b8",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 184
  },
  "hsl": {
    "h": 279.248,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50811,
    "c": 0.20289,
    "h": 311.1
  },
  "luminance": 0.11232
}

Semantic roles & 50–950 ramp

primary
#8A33B8
secondary
#98C87F
accent
#E0487C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8A33B8

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

Preview Lab → · Contrast checker → · Palette generator →

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