#8D33CA#8D33CA

#8D33CA is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.5% C 0.221 H 307.4°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#8D33CA
RGBrgb(141, 51, 202)
HSLhsl(276, 60%, 50%)
HSVhsv(276, 75%, 79%)
CMYKcmyk(30.2%, 74.8%, 0%, 20.8%)
CIE-LABlab(41.68, 62.17, -61.77)
CIE-LCHlch(41.68, 87.64, 315.18°)
OKLaboklab(52.52% 0.1343 -0.1755)
OKLCHoklch(52.52% 0.221 307.4)
XYZxyz(22.8267, 12.2949, 57.0363)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D33CA #70CA33
analogous
#4233CA #8D33CA #CA33BB
triadic
#8D33CA #CA8D33 #33CA8D
tetradic
#8D33CA #CA4233 #70CA33 #33BBCA
square
#8D33CA #CA4233 #70CA33 #33BBCA
split-complementary
#8D33CA #BBCA33 #33CA42
monochromatic
#491A68 #6B2799 #8D33CA #A863D8 #C394E4

Accessibility & contrast

On white

6.07
#8D33CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8D33CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D33CA
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D33CA#FFFFFF#000000##FFFFFF
##8D33CA1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#0063C7
Tritanopia (blue-blind)
#83587D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8d33ca;
/* rgb */ color: rgb(141, 51, 202);
/* oklch */ color: oklch(52.5% 0.221 307.4);
Tailwind
colors: {
  custom: {
    50: '#b474db',
    500: '#8d33ca',
    950: '#000000',
  },
}
SCSS
$custom: #8d33ca;
$custom-light: #b474db;
$custom-dark: #000000;
JSON
{
  "hex": "#8d33ca",
  "rgb": {
    "r": 141,
    "g": 51,
    "b": 202
  },
  "hsl": {
    "h": 275.762,
    "s": 59.684,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52518,
    "c": 0.221,
    "h": 307.4
  },
  "luminance": 0.12295
}

Semantic roles & 50–950 ramp

primary
#8D33CA
secondary
#A6CF8A
accent
#E34585
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8D33CA

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

Preview Lab → · Contrast checker → · Palette generator →

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