#8D38CE#8D38CE

#8D38CE is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.3% C 0.219 H 306.0°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8D38CE
RGBrgb(141, 56, 206)
HSLhsl(274, 60%, 51%)
HSVhsv(274, 73%, 81%)
CMYKcmyk(31.6%, 72.8%, 0%, 19.2%)
CIE-LABlab(42.68, 61.03, -62.46)
CIE-LCHlch(42.68, 87.33, 314.34°)
OKLaboklab(53.32% 0.129 -0.1776)
OKLCHoklch(53.32% 0.219 306)
XYZxyz(23.5368, 12.9475, 59.6397)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D38CE #79CE38
analogous
#4238CE #8D38CE #CE38C4
triadic
#8D38CE #CE8D38 #38CE8D
tetradic
#8D38CE #CE4238 #79CE38 #38C4CE
square
#8D38CE #CE4238 #79CE38 #38C4CE
split-complementary
#8D38CE #C4CE38 #38CE42
monochromatic
#4B1C70 #6C28A1 #8D38CE #A969DA #C59AE6

Accessibility & contrast

On white

5.85
#8D38CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#8D38CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D38CE
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D38CE#FFFFFF#000000##FFFFFF
##8D38CE1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D2
Deuteranopia (green-blind)
#0065CB
Tritanopia (blue-blind)
#815C80
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8d38ce;
/* rgb */ color: rgb(141, 56, 206);
/* oklch */ color: oklch(53.3% 0.219 306.0);
Tailwind
colors: {
  custom: {
    50: '#b476de',
    500: '#8d38ce',
    950: '#000000',
  },
}
SCSS
$custom: #8d38ce;
$custom-light: #b476de;
$custom-dark: #000000;
JSON
{
  "hex": "#8d38ce",
  "rgb": {
    "r": 141,
    "g": 56,
    "b": 206
  },
  "hsl": {
    "h": 274,
    "s": 60.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53319,
    "c": 0.21945,
    "h": 306
  },
  "luminance": 0.12947
}

Semantic roles & 50–950 ramp

primary
#8D38CE
secondary
#ACD290
accent
#E44489
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8D38CE

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

Preview Lab → · Contrast checker → · Palette generator →

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