#8D33C2#8D33C2

#8D33C2 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.9% C 0.213 H 309.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#8D33C2
RGBrgb(141, 51, 194)
HSLhsl(278, 58%, 48%)
HSVhsv(278, 74%, 76%)
CMYKcmyk(27.3%, 73.7%, 0%, 23.9%)
CIE-LABlab(41.10, 60.44, -58.06)
CIE-LCHlch(41.10, 83.81, 316.15°)
OKLaboklab(51.92% 0.1358 -0.1646)
OKLCHoklch(51.92% 0.213 309.5)
XYZxyz(21.9040, 11.9258, 52.1765)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D33C2 #68C233
analogous
#4533C2 #8D33C2 #C233AF
triadic
#8D33C2 #C28D33 #33C28D
tetradic
#8D33C2 #C24533 #68C233 #33AFC2
square
#8D33C2 #C24533 #68C233 #33AFC2
split-complementary
#8D33C2 #AFC233 #33C245
monochromatic
#471A61 #6A2692 #8D33C2 #A85ED5 #C28EE1

Accessibility & contrast

On white

6.20
#8D33C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8D33C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D33C2
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D33C2#FFFFFF#000000##FFFFFF
##8D33C21.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#0B62BF
Tritanopia (blue-blind)
#855478
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8d33c2;
/* rgb */ color: rgb(141, 51, 194);
/* oklch */ color: oklch(51.9% 0.213 309.5);
Tailwind
colors: {
  custom: {
    50: '#b373d5',
    500: '#8d33c2',
    950: '#000000',
  },
}
SCSS
$custom: #8d33c2;
$custom-light: #b373d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d33c2",
  "rgb": {
    "r": 141,
    "g": 51,
    "b": 194
  },
  "hsl": {
    "h": 277.762,
    "s": 58.367,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51923,
    "c": 0.21338,
    "h": 309.5
  },
  "luminance": 0.11925
}

Semantic roles & 50–950 ramp

primary
#8D33C2
secondary
#9FCC85
accent
#E24680
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8D33C2

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

Preview Lab → · Contrast checker → · Palette generator →

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