#8A33D1#8A33D1

#8A33D1 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.7% C 0.227 H 304.6°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8A33D1
RGBrgb(138, 51, 209)
HSLhsl(273, 63%, 51%)
HSVhsv(273, 76%, 82%)
CMYKcmyk(34%, 75.6%, 0%, 18%)
CIE-LABlab(41.81, 63.19, -65.64)
CIE-LCHlch(41.81, 91.11, 313.91°)
OKLaboklab(52.69% 0.1288 -0.187)
OKLCHoklch(52.69% 0.227 304.6)
XYZxyz(23.1711, 12.3745, 61.4770)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A33D1 #7AD133
analogous
#3B33D1 #8A33D1 #D133C9
triadic
#8A33D1 #D18A33 #33D18A
tetradic
#8A33D1 #D13B33 #7AD133 #33C9D1
square
#8A33D1 #D13B33 #7AD133 #33C9D1
split-complementary
#8A33D1 #C9D133 #33D13B
monochromatic
#491970 #6A25A2 #8A33D1 #A765DC #C397E8

Accessibility & contrast

On white

6.04
#8A33D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#8A33D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A33D1
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A33D1#FFFFFF#000000##FFFFFF
##8A33D11.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D5
Deuteranopia (green-blind)
#0063CE
Tritanopia (blue-blind)
#7C5B81
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8a33d1;
/* rgb */ color: rgb(138, 51, 209);
/* oklch */ color: oklch(52.7% 0.227 304.6);
Tailwind
colors: {
  custom: {
    50: '#b274e0',
    500: '#8a33d1',
    950: '#000000',
  },
}
SCSS
$custom: #8a33d1;
$custom-light: #b274e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a33d1",
  "rgb": {
    "r": 138,
    "g": 51,
    "b": 209
  },
  "hsl": {
    "h": 273.038,
    "s": 63.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52685,
    "c": 0.22702,
    "h": 304.6
  },
  "luminance": 0.12374
}

Semantic roles & 50–950 ramp

primary
#8A33D1
secondary
#ACD38D
accent
#E6428C
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8A33D1

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

Preview Lab → · Contrast checker → · Palette generator →

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