#8D33B3#8D33B3

#8D33B3 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.9% C 0.199 H 313.8°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#8D33B3
RGBrgb(141, 51, 179)
HSLhsl(282, 56%, 45%)
HSVhsv(282, 72%, 70%)
CMYKcmyk(21.2%, 71.5%, 0%, 29.8%)
CIE-LABlab(40.06, 57.27, -50.93)
CIE-LCHlch(40.06, 76.64, 318.35°)
OKLaboklab(50.86% 0.1379 -0.1436)
OKLCHoklch(50.86% 0.199 313.8)
XYZxyz(20.3036, 11.2857, 43.7479)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D33B3 #59B333
analogous
#4D33B3 #8D33B3 #B33399
triadic
#8D33B3 #B38D33 #33B38D
tetradic
#8D33B3 #B34D33 #59B333 #3399B3
square
#8D33B3 #B34D33 #59B333 #3399B3
split-complementary
#8D33B3 #99B333 #33B34D
monochromatic
#421854 #672583 #8D33B3 #AA55CE #C284DC

Accessibility & contrast

On white

6.45
#8D33B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8D33B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D33B3
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D33B3#FFFFFF#000000##FFFFFF
##8D33B31.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#2A60B0
Tritanopia (blue-blind)
#894E70
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8d33b3;
/* rgb */ color: rgb(141, 51, 179);
/* oklch */ color: oklch(50.9% 0.199 313.8);
Tailwind
colors: {
  custom: {
    50: '#b273ca',
    500: '#8d33b3',
    950: '#000000',
  },
}
SCSS
$custom: #8d33b3;
$custom-light: #b273ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8d33b3",
  "rgb": {
    "r": 141,
    "g": 51,
    "b": 179
  },
  "hsl": {
    "h": 282.188,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.50855,
    "c": 0.19912,
    "h": 313.8
  },
  "luminance": 0.11285
}

Semantic roles & 50–950 ramp

primary
#8D33B3
secondary
#92C67C
accent
#DF4975
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110913
muted
#807B82

Preview Lab

Preview with #8D33B3

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

Preview Lab → · Contrast checker → · Palette generator →

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