#8D33D2#8D33D2

#8D33D2 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 53.1% C 0.229 H 305.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8D33D2
RGBrgb(141, 51, 210)
HSLhsl(274, 64%, 51%)
HSVhsv(274, 76%, 82%)
CMYKcmyk(32.9%, 75.7%, 0%, 17.6%)
CIE-LABlab(42.28, 63.92, -65.42)
CIE-LCHlch(42.28, 91.47, 314.34°)
OKLaboklab(53.13% 0.1327 -0.1862)
OKLCHoklch(53.13% 0.229 305.5)
XYZxyz(23.7986, 12.6837, 62.1547)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D33D2 #78D233
analogous
#3D33D2 #8D33D2 #D233C7
triadic
#8D33D2 #D28D33 #33D28D
tetradic
#8D33D2 #D23D33 #78D233 #33C7D2
square
#8D33D2 #D23D33 #78D233 #33C7D2
split-complementary
#8D33D2 #C7D233 #33D23D
monochromatic
#4B1972 #6C24A4 #8D33D2 #A965DD #C597E8

Accessibility & contrast

On white

5.94
#8D33D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8D33D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D33D2
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D33D2#FFFFFF#000000##FFFFFF
##8D33D21.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D6
Deuteranopia (green-blind)
#0064CF
Tritanopia (blue-blind)
#805B81
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8d33d2;
/* rgb */ color: rgb(141, 51, 210);
/* oklch */ color: oklch(53.1% 0.229 305.5);
Tailwind
colors: {
  custom: {
    50: '#b474e1',
    500: '#8d33d2',
    950: '#000000',
  },
}
SCSS
$custom: #8d33d2;
$custom-light: #b474e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d33d2",
  "rgb": {
    "r": 141,
    "g": 51,
    "b": 210
  },
  "hsl": {
    "h": 273.962,
    "s": 63.855,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5313,
    "c": 0.22863,
    "h": 305.5
  },
  "luminance": 0.12684
}

Semantic roles & 50–950 ramp

primary
#8D33D2
secondary
#ACD48D
accent
#E74189
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8D33D2

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

Preview Lab → · Contrast checker → · Palette generator →

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