#8D38C0#8D38C0

#8D38C0 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.3% C 0.206 H 309.6°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#8D38C0
RGBrgb(141, 56, 192)
HSLhsl(278, 55%, 49%)
HSVhsv(278, 71%, 75%)
CMYKcmyk(26.6%, 70.8%, 0%, 24.7%)
CIE-LABlab(41.68, 57.94, -55.95)
CIE-LCHlch(41.68, 80.54, 316.00°)
OKLaboklab(52.3% 0.1312 -0.1584)
OKLCHoklch(52.3% 0.206 309.6)
XYZxyz(21.9112, 12.2973, 51.0783)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D38C0 #6BC038
analogous
#4938C0 #8D38C0 #C038AF
triadic
#8D38C0 #C08D38 #38C08D
tetradic
#8D38C0 #C04938 #6BC038 #38AFC0
square
#8D38C0 #C04938 #6BC038 #38AFC0
split-complementary
#8D38C0 #AFC038 #38C049
monochromatic
#471C61 #6A2A91 #8D38C0 #A864D2 #C393DF

Accessibility & contrast

On white

6.07
#8D38C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8D38C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D38C0
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D38C0#FFFFFF#000000##FFFFFF
##8D38C01.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC4
Deuteranopia (green-blind)
#1C64BD
Tritanopia (blue-blind)
#865678
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8d38c0;
/* rgb */ color: rgb(141, 56, 192);
/* oklch */ color: oklch(52.3% 0.206 309.6);
Tailwind
colors: {
  custom: {
    50: '#b376d4',
    500: '#8d38c0',
    950: '#000000',
  },
}
SCSS
$custom: #8d38c0;
$custom-light: #b376d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d38c0",
  "rgb": {
    "r": 141,
    "g": 56,
    "b": 192
  },
  "hsl": {
    "h": 277.5,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.52295,
    "c": 0.20567,
    "h": 309.6
  },
  "luminance": 0.12297
}

Semantic roles & 50–950 ramp

primary
#8D38C0
secondary
#A2CB89
accent
#DE4A81
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8D38C0

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

Preview Lab → · Contrast checker → · Palette generator →

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