#8D33D1#8D33D1

#8D33D1 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 53.1% C 0.228 H 305.7°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8D33D1
RGBrgb(141, 51, 209)
HSLhsl(274, 63%, 51%)
HSVhsv(274, 76%, 82%)
CMYKcmyk(32.5%, 75.6%, 0%, 18%)
CIE-LABlab(42.21, 63.70, -64.97)
CIE-LCHlch(42.21, 90.99, 314.44°)
OKLaboklab(53.05% 0.1329 -0.1849)
OKLCHoklch(53.05% 0.228 305.7)
XYZxyz(23.6744, 12.6340, 61.5006)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D33D1 #77D133
analogous
#3E33D1 #8D33D1 #D133C6
triadic
#8D33D1 #D18D33 #33D18D
tetradic
#8D33D1 #D13E33 #77D133 #33C6D1
square
#8D33D1 #D13E33 #77D133 #33C6D1
split-complementary
#8D33D1 #C6D133 #33D13E
monochromatic
#4B1970 #6C25A2 #8D33D1 #A965DC #C597E8

Accessibility & contrast

On white

5.95
#8D33D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#8D33D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D33D1
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D33D1#FFFFFF#000000##FFFFFF
##8D33D11.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D5
Deuteranopia (green-blind)
#0064CE
Tritanopia (blue-blind)
#815B81
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8d33d1;
/* rgb */ color: rgb(141, 51, 209);
/* oklch */ color: oklch(53.1% 0.228 305.7);
Tailwind
colors: {
  custom: {
    50: '#b474e0',
    500: '#8d33d1',
    950: '#000000',
  },
}
SCSS
$custom: #8d33d1;
$custom-light: #b474e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d33d1",
  "rgb": {
    "r": 141,
    "g": 51,
    "b": 209
  },
  "hsl": {
    "h": 274.177,
    "s": 63.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53052,
    "c": 0.22768,
    "h": 305.7
  },
  "luminance": 0.12634
}

Semantic roles & 50–950 ramp

primary
#8D33D1
secondary
#ABD38D
accent
#E64288
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8D33D1

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

Preview Lab → · Contrast checker → · Palette generator →

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