#8D33B4#8D33B4

#8D33B4 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 50.9% C 0.200 H 313.5°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#8D33B4
RGBrgb(141, 51, 180)
HSLhsl(282, 56%, 45%)
HSVhsv(282, 72%, 71%)
CMYKcmyk(21.7%, 71.7%, 0%, 29.4%)
CIE-LABlab(40.12, 57.47, -51.41)
CIE-LCHlch(40.12, 77.11, 318.19°)
OKLaboklab(50.92% 0.1378 -0.1451)
OKLCHoklch(50.92% 0.2 313.5)
XYZxyz(20.4051, 11.3263, 44.2825)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D33B4 #5AB433
analogous
#4C33B4 #8D33B4 #B4339B
triadic
#8D33B4 #B48D33 #33B48D
tetradic
#8D33B4 #B44C33 #5AB433 #339BB4
square
#8D33B4 #B44C33 #5AB433 #339BB4
split-complementary
#8D33B4 #9BB433 #33B44C
monochromatic
#421855 #682584 #8D33B4 #AA55CF #C285DC

Accessibility & contrast

On white

6.43
#8D33B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8D33B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D33B4
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D33B4#FFFFFF#000000##FFFFFF
##8D33B41.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB8
Deuteranopia (green-blind)
#2961B1
Tritanopia (blue-blind)
#894F70
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8d33b4;
/* rgb */ color: rgb(141, 51, 180);
/* oklch */ color: oklch(50.9% 0.200 313.5);
Tailwind
colors: {
  custom: {
    50: '#b273cb',
    500: '#8d33b4',
    950: '#000000',
  },
}
SCSS
$custom: #8d33b4;
$custom-light: #b273cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d33b4",
  "rgb": {
    "r": 141,
    "g": 51,
    "b": 180
  },
  "hsl": {
    "h": 281.86,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50924,
    "c": 0.20007,
    "h": 313.5
  },
  "luminance": 0.11326
}

Semantic roles & 50–950 ramp

primary
#8D33B4
secondary
#93C67D
accent
#DF4976
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110913
muted
#807B82

Preview Lab

Preview with #8D33B4

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

Preview Lab → · Contrast checker → · Palette generator →

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