#8D38D3#8D38D3

#8D38D3 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.7% C 0.224 H 304.8°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8D38D3
RGBrgb(141, 56, 211)
HSLhsl(273, 64%, 52%)
HSVhsv(273, 73%, 83%)
CMYKcmyk(33.2%, 73.5%, 0%, 17.3%)
CIE-LABlab(43.05, 62.16, -64.74)
CIE-LCHlch(43.05, 89.75, 313.83°)
OKLaboklab(53.7% 0.128 -0.1843)
OKLCHoklch(53.7% 0.224 304.8)
XYZxyz(24.1539, 13.1943, 62.8897)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D38D3 #7ED338
analogous
#3F38D3 #8D38D3 #D338CC
triadic
#8D38D3 #D38D38 #38D38D
tetradic
#8D38D3 #D33F38 #7ED338 #38CCD3
square
#8D38D3 #D33F38 #7ED338 #38CCD3
split-complementary
#8D38D3 #CCD338 #38D33F
monochromatic
#4D1A76 #6D25A9 #8D38D3 #AA6ADE #C69CE9

Accessibility & contrast

On white

5.77
#8D38D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#8D38D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D38D3
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D38D3#FFFFFF#000000##FFFFFF
##8D38D31.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D7
Deuteranopia (green-blind)
#0066D0
Tritanopia (blue-blind)
#805E83
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8d38d3;
/* rgb */ color: rgb(141, 56, 211);
/* oklch */ color: oklch(53.7% 0.224 304.8);
Tailwind
colors: {
  custom: {
    50: '#b477e1',
    500: '#8d38d3',
    950: '#000000',
  },
}
SCSS
$custom: #8d38d3;
$custom-light: #b477e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d38d3",
  "rgb": {
    "r": 141,
    "g": 56,
    "b": 211
  },
  "hsl": {
    "h": 272.903,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.53697,
    "c": 0.22437,
    "h": 304.8
  },
  "luminance": 0.13194
}

Semantic roles & 50–950 ramp

primary
#8D38D3
secondary
#B0D592
accent
#E7418C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8D38D3

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

Preview Lab → · Contrast checker → · Palette generator →

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