#8D33B7#8D33B7

#8D33B7 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.1% C 0.203 H 312.6°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#8D33B7
RGBrgb(141, 51, 183)
HSLhsl(281, 56%, 46%)
HSVhsv(281, 72%, 72%)
CMYKcmyk(23%, 72.1%, 0%, 28.2%)
CIE-LABlab(40.33, 58.10, -52.85)
CIE-LCHlch(40.33, 78.54, 317.71°)
OKLaboklab(51.13% 0.1374 -0.1493)
OKLCHoklch(51.13% 0.203 312.6)
XYZxyz(20.7140, 11.4499, 45.9094)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D33B7 #5DB733
analogous
#4B33B7 #8D33B7 #B7339F
triadic
#8D33B7 #B78D33 #33B78D
tetradic
#8D33B7 #B74B33 #5DB733 #339FB7
square
#8D33B7 #B74B33 #5DB733 #339FB7
split-complementary
#8D33B7 #9FB733 #33B74B
monochromatic
#431857 #682687 #8D33B7 #AA57D0 #C287DE

Accessibility & contrast

On white

6.38
#8D33B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8D33B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D33B7
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D33B7#FFFFFF#000000##FFFFFF
##8D33B71.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#2561B4
Tritanopia (blue-blind)
#885072
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8d33b7;
/* rgb */ color: rgb(141, 51, 183);
/* oklch */ color: oklch(51.1% 0.203 312.6);
Tailwind
colors: {
  custom: {
    50: '#b373cd',
    500: '#8d33b7',
    950: '#000000',
  },
}
SCSS
$custom: #8d33b7;
$custom-light: #b373cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d33b7",
  "rgb": {
    "r": 141,
    "g": 51,
    "b": 183
  },
  "hsl": {
    "h": 280.909,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.51133,
    "c": 0.20292,
    "h": 312.6
  },
  "luminance": 0.11449
}

Semantic roles & 50–950 ramp

primary
#8D33B7
secondary
#96C77F
accent
#E04878
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8D33B7

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

Preview Lab → · Contrast checker → · Palette generator →

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