#8D33B2#8D33B2

#8D33B2 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.8% C 0.198 H 314.1°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#8D33B2
RGBrgb(141, 51, 178)
HSLhsl(283, 55%, 45%)
HSVhsv(283, 71%, 70%)
CMYKcmyk(20.8%, 71.3%, 0%, 30.2%)
CIE-LABlab(39.99, 57.06, -50.45)
CIE-LCHlch(39.99, 76.16, 318.52°)
OKLaboklab(50.79% 0.138 -0.1422)
OKLCHoklch(50.79% 0.198 314.1)
XYZxyz(20.2029, 11.2454, 43.2172)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D33B2 #58B233
analogous
#4E33B2 #8D33B2 #B23397
triadic
#8D33B2 #B28D33 #33B28D
tetradic
#8D33B2 #B24E33 #58B233 #3397B2
square
#8D33B2 #B24E33 #58B233 #3397B2
split-complementary
#8D33B2 #97B233 #33B24E
monochromatic
#421853 #672582 #8D33B2 #AB54CE #C284DC

Accessibility & contrast

On white

6.46
#8D33B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D33B2
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D33B2#FFFFFF#000000##FFFFFF
##8D33B21.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#2C60AF
Tritanopia (blue-blind)
#8A4E6F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8d33b2;
/* rgb */ color: rgb(141, 51, 178);
/* oklch */ color: oklch(50.8% 0.198 314.1);
Tailwind
colors: {
  custom: {
    50: '#b273ca',
    500: '#8d33b2',
    950: '#000000',
  },
}
SCSS
$custom: #8d33b2;
$custom-light: #b273ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8d33b2",
  "rgb": {
    "r": 141,
    "g": 51,
    "b": 178
  },
  "hsl": {
    "h": 282.52,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50786,
    "c": 0.19817,
    "h": 314.1
  },
  "luminance": 0.11245
}

Semantic roles & 50–950 ramp

primary
#8D33B2
secondary
#91C57C
accent
#DF4975
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D33B2

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

Preview Lab → · Contrast checker → · Palette generator →

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