#8D38C4#8D38C4

#8D38C4 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.6% C 0.210 H 308.5°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8D38C4
RGBrgb(141, 56, 196)
HSLhsl(276, 56%, 49%)
HSVhsv(276, 71%, 77%)
CMYKcmyk(28.1%, 71.4%, 0%, 23.1%)
CIE-LABlab(41.96, 58.82, -57.83)
CIE-LCHlch(41.96, 82.48, 315.49°)
OKLaboklab(52.58% 0.1306 -0.1639)
OKLCHoklch(52.58% 0.21 308.5)
XYZxyz(22.3604, 12.4770, 53.4442)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D38C4 #6FC438
analogous
#4738C4 #8D38C4 #C438B5
triadic
#8D38C4 #C48D38 #38C48D
tetradic
#8D38C4 #C44738 #6FC438 #38B5C4
square
#8D38C4 #C44738 #6FC438 #38B5C4
split-complementary
#8D38C4 #B5C438 #38C447
monochromatic
#491D65 #6B2A94 #8D38C4 #A866D3 #C396E1

Accessibility & contrast

On white

6.01
#8D38C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8D38C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D38C4
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D38C4#FFFFFF#000000##FFFFFF
##8D38C41.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C8
Deuteranopia (green-blind)
#1264C1
Tritanopia (blue-blind)
#85587B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8d38c4;
/* rgb */ color: rgb(141, 56, 196);
/* oklch */ color: oklch(52.6% 0.210 308.5);
Tailwind
colors: {
  custom: {
    50: '#b376d7',
    500: '#8d38c4',
    950: '#000000',
  },
}
SCSS
$custom: #8d38c4;
$custom-light: #b376d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d38c4",
  "rgb": {
    "r": 141,
    "g": 56,
    "b": 196
  },
  "hsl": {
    "h": 276.429,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.52582,
    "c": 0.20961,
    "h": 308.5
  },
  "luminance": 0.12477
}

Semantic roles & 50–950 ramp

primary
#8D38C4
secondary
#A5CC8C
accent
#DF4984
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8D38C4

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

Preview Lab → · Contrast checker → · Palette generator →

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