#8D38D1#8D38D1

#8D38D1 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.5% C 0.222 H 305.3°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#8D38D1
RGBrgb(141, 56, 209)
HSLhsl(273, 62%, 52%)
HSVhsv(273, 73%, 82%)
CMYKcmyk(32.5%, 73.2%, 0%, 18%)
CIE-LABlab(42.91, 61.71, -63.83)
CIE-LCHlch(42.91, 88.78, 314.03°)
OKLaboklab(53.55% 0.1284 -0.1816)
OKLCHoklch(53.55% 0.222 305.3)
XYZxyz(23.9047, 13.0947, 61.5774)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D38D1 #7CD138
analogous
#4038D1 #8D38D1 #D138C9
triadic
#8D38D1 #D18D38 #38D18D
tetradic
#8D38D1 #D14038 #7CD138 #38C9D1
square
#8D38D1 #D14038 #7CD138 #38C9D1
split-complementary
#8D38D1 #C9D138 #38D140
monochromatic
#4C1B74 #6D26A6 #8D38D1 #A96ADC #C69BE8

Accessibility & contrast

On white

5.80
#8D38D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#8D38D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D38D1
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D38D1#FFFFFF#000000##FFFFFF
##8D38D11.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D5
Deuteranopia (green-blind)
#0065CE
Tritanopia (blue-blind)
#805D82
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8d38d1;
/* rgb */ color: rgb(141, 56, 209);
/* oklch */ color: oklch(53.5% 0.222 305.3);
Tailwind
colors: {
  custom: {
    50: '#b477e0',
    500: '#8d38d1',
    950: '#000000',
  },
}
SCSS
$custom: #8d38d1;
$custom-light: #b477e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d38d1",
  "rgb": {
    "r": 141,
    "g": 56,
    "b": 209
  },
  "hsl": {
    "h": 273.333,
    "s": 62.449,
    "l": 51.961
  },
  "oklch": {
    "l": 0.53545,
    "c": 0.2224,
    "h": 305.3
  },
  "luminance": 0.13095
}

Semantic roles & 50–950 ramp

primary
#8D38D1
secondary
#AFD491
accent
#E6428B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8D38D1

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

Preview Lab → · Contrast checker → · Palette generator →

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