#8D38DA#8D38DA

#8D38DA is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.2% C 0.231 H 303.2°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8D38DA
RGBrgb(141, 56, 218)
HSLhsl(271, 69%, 54%)
HSVhsv(271, 74%, 85%)
CMYKcmyk(35.3%, 74.3%, 0%, 14.5%)
CIE-LABlab(43.58, 63.74, -67.90)
CIE-LCHlch(43.58, 93.13, 313.19°)
OKLaboklab(54.24% 0.1266 -0.1935)
OKLCHoklch(54.24% 0.231 303.2)
XYZxyz(25.0506, 13.5530, 67.6123)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D38DA #85DA38
analogous
#3C38DA #8D38DA #DA38D6
triadic
#8D38DA #DA8D38 #38DA8D
tetradic
#8D38DA #DA3C38 #85DA38 #38D6DA
square
#8D38DA #DA3C38 #85DA38 #38D6DA
split-complementary
#8D38DA #D6DA38 #38DA3C
monochromatic
#4E1880 #6E21B3 #8D38DA #AB6CE4 #C89FED

Accessibility & contrast

On white

5.66
#8D38DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#8D38DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D38DA
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D38DA#FFFFFF#000000##FFFFFF
##8D38DA1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DF
Deuteranopia (green-blind)
#0067D7
Tritanopia (blue-blind)
#7D6187
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8d38da;
/* rgb */ color: rgb(141, 56, 218);
/* oklch */ color: oklch(54.2% 0.231 303.2);
Tailwind
colors: {
  custom: {
    50: '#b577e6',
    500: '#8d38da',
    950: '#000000',
  },
}
SCSS
$custom: #8d38da;
$custom-light: #b577e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d38da",
  "rgb": {
    "r": 141,
    "g": 56,
    "b": 218
  },
  "hsl": {
    "h": 271.481,
    "s": 68.644,
    "l": 53.725
  },
  "oklch": {
    "l": 0.54237,
    "c": 0.23126,
    "h": 303.2
  },
  "luminance": 0.13553
}

Semantic roles & 50–950 ramp

primary
#8D38DA
secondary
#B5DA94
accent
#EB3C90
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8D38DA

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

Preview Lab → · Contrast checker → · Palette generator →

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