#8E38BD#8E38BD

#8E38BD is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.2% C 0.203 H 310.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8E38BD
RGBrgb(142, 56, 189)
HSLhsl(279, 54%, 48%)
HSVhsv(279, 70%, 74%)
CMYKcmyk(24.9%, 70.4%, 0%, 25.9%)
CIE-LABlab(41.62, 57.49, -54.29)
CIE-LCHlch(41.62, 79.08, 316.64°)
OKLaboklab(52.21% 0.1329 -0.1535)
OKLCHoklch(52.21% 0.203 310.9)
XYZxyz(21.7531, 12.2538, 49.3535)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E38BD #67BD38
analogous
#4B38BD #8E38BD #BD38A9
triadic
#8E38BD #BD8E38 #38BD8E
tetradic
#8E38BD #BD4B38 #67BD38 #38A9BD
square
#8E38BD #BD4B38 #67BD38 #38A9BD
split-complementary
#8E38BD #A9BD38 #38BD4B
monochromatic
#471C5F #6B2A8E #8E38BD #A962D0 #C391DE

Accessibility & contrast

On white

6.09
#8E38BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#8E38BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E38BD
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E38BD#FFFFFF#000000##FFFFFF
##8E38BD1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#2464BA
Tritanopia (blue-blind)
#885577
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8e38bd;
/* rgb */ color: rgb(142, 56, 189);
/* oklch */ color: oklch(52.2% 0.203 310.9);
Tailwind
colors: {
  custom: {
    50: '#b376d2',
    500: '#8e38bd',
    950: '#000000',
  },
}
SCSS
$custom: #8e38bd;
$custom-light: #b376d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e38bd",
  "rgb": {
    "r": 142,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 278.797,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5221,
    "c": 0.20303,
    "h": 310.9
  },
  "luminance": 0.12253
}

Semantic roles & 50–950 ramp

primary
#8E38BD
secondary
#9FC987
accent
#DE4A7E
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8E38BD

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

Preview Lab → · Contrast checker → · Palette generator →

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