#8E38BE#8E38BE

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

Color values

HEX#8E38BE
RGBrgb(142, 56, 190)
HSLhsl(279, 54%, 48%)
HSVhsv(279, 71%, 75%)
CMYKcmyk(25.3%, 70.5%, 0%, 25.5%)
CIE-LABlab(41.68, 57.71, -54.77)
CIE-LCHlch(41.68, 79.56, 316.50°)
OKLaboklab(52.28% 0.1328 -0.1549)
OKLCHoklch(52.28% 0.204 310.6)
XYZxyz(21.8620, 12.2973, 49.9272)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E38BE #68BE38
analogous
#4B38BE #8E38BE #BE38AB
triadic
#8E38BE #BE8E38 #38BE8E
tetradic
#8E38BE #BE4B38 #68BE38 #38ABBE
square
#8E38BE #BE4B38 #68BE38 #38ABBE
split-complementary
#8E38BE #ABBE38 #38BE4B
monochromatic
#471C5F #6B2A8F #8E38BE #A962D1 #C392DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E38BE#FFFFFF#000000##FFFFFF
##8E38BE1.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)
#005EC2
Deuteranopia (green-blind)
#2264BB
Tritanopia (blue-blind)
#885577
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8e38be;
/* rgb */ color: rgb(142, 56, 190);
/* oklch */ color: oklch(52.3% 0.204 310.6);
Tailwind
colors: {
  custom: {
    50: '#b376d2',
    500: '#8e38be',
    950: '#000000',
  },
}
SCSS
$custom: #8e38be;
$custom-light: #b376d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e38be",
  "rgb": {
    "r": 142,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 278.507,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5228,
    "c": 0.20402,
    "h": 310.6
  },
  "luminance": 0.12297
}

Semantic roles & 50–950 ramp

primary
#8E38BE
secondary
#A0CA88
accent
#DE4A7F
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8E38BE

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

Preview Lab → · Contrast checker → · Palette generator →

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