#8D33D4#8D33D4

#8D33D4 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.3% C 0.231 H 305.0°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#8D33D4
RGBrgb(141, 51, 212)
HSLhsl(274, 65%, 52%)
HSVhsv(274, 76%, 83%)
CMYKcmyk(33.5%, 75.9%, 0%, 16.9%)
CIE-LABlab(42.44, 64.37, -66.32)
CIE-LCHlch(42.44, 92.42, 314.14°)
OKLaboklab(53.29% 0.1322 -0.1889)
OKLCHoklch(53.29% 0.231 305)
XYZxyz(24.0493, 12.7840, 63.4752)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D33D4 #7AD433
analogous
#3D33D4 #8D33D4 #D433CB
triadic
#8D33D4 #D48D33 #33D48D
tetradic
#8D33D4 #D43D33 #7AD433 #33CBD4
square
#8D33D4 #D43D33 #7AD433 #33CBD4
split-complementary
#8D33D4 #CBD433 #33D43D
monochromatic
#4C1874 #6D23A7 #8D33D4 #A966DF #C598E9

Accessibility & contrast

On white

5.90
#8D33D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#8D33D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D33D4
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D33D4#FFFFFF#000000##FFFFFF
##8D33D41.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D8
Deuteranopia (green-blind)
#0064D1
Tritanopia (blue-blind)
#805C82
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8d33d4;
/* rgb */ color: rgb(141, 51, 212);
/* oklch */ color: oklch(53.3% 0.231 305.0);
Tailwind
colors: {
  custom: {
    50: '#b474e2',
    500: '#8d33d4',
    950: '#000000',
  },
}
SCSS
$custom: #8d33d4;
$custom-light: #b474e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d33d4",
  "rgb": {
    "r": 141,
    "g": 51,
    "b": 212
  },
  "hsl": {
    "h": 273.54,
    "s": 65.182,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53285,
    "c": 0.23055,
    "h": 305
  },
  "luminance": 0.12784
}

Semantic roles & 50–950 ramp

primary
#8D33D4
secondary
#ADD58E
accent
#E8408A
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#120915
muted
#817B84

Preview Lab

Preview with #8D33D4

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

Preview Lab → · Contrast checker → · Palette generator →

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