#8D38C8#8D38C8

#8D38C8 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.9% C 0.214 H 307.5°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#8D38C8
RGBrgb(141, 56, 200)
HSLhsl(275, 57%, 50%)
HSVhsv(275, 72%, 78%)
CMYKcmyk(29.5%, 72%, 0%, 21.6%)
CIE-LABlab(42.25, 59.70, -59.69)
CIE-LCHlch(42.25, 84.42, 315.00°)
OKLaboklab(52.87% 0.13 -0.1694)
OKLCHoklch(52.87% 0.214 307.5)
XYZxyz(22.8218, 12.6615, 55.8740)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D38C8 #73C838
analogous
#4538C8 #8D38C8 #C838BB
triadic
#8D38C8 #C88D38 #38C88D
tetradic
#8D38C8 #C84538 #73C838 #38BBC8
square
#8D38C8 #C84538 #73C838 #38BBC8
split-complementary
#8D38C8 #BBC838 #38C845
monochromatic
#4A1D69 #6B2A99 #8D38C8 #A868D5 #C498E3

Accessibility & contrast

On white

5.95
#8D38C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#8D38C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D38C8
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D38C8#FFFFFF#000000##FFFFFF
##8D38C81.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#0164C5
Tritanopia (blue-blind)
#835A7D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8d38c8;
/* rgb */ color: rgb(141, 56, 200);
/* oklch */ color: oklch(52.9% 0.214 307.5);
Tailwind
colors: {
  custom: {
    50: '#b376da',
    500: '#8d38c8',
    950: '#000000',
  },
}
SCSS
$custom: #8d38c8;
$custom-light: #b376da;
$custom-dark: #000000;
JSON
{
  "hex": "#8d38c8",
  "rgb": {
    "r": 141,
    "g": 56,
    "b": 200
  },
  "hsl": {
    "h": 275.417,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52874,
    "c": 0.21354,
    "h": 307.5
  },
  "luminance": 0.12661
}

Semantic roles & 50–950 ramp

primary
#8D38C8
secondary
#A8CE8E
accent
#E04886
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8D38C8

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

Preview Lab → · Contrast checker → · Palette generator →

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