#8E3BCD#8E3BCD

#8E3BCD is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.7% C 0.215 H 306.3°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8E3BCD
RGBrgb(142, 59, 205)
HSLhsl(274, 59%, 52%)
HSVhsv(274, 71%, 80%)
CMYKcmyk(30.7%, 71.2%, 0%, 19.6%)
CIE-LABlab(43.19, 59.73, -61.05)
CIE-LCHlch(43.19, 85.41, 314.37°)
OKLaboklab(53.68% 0.1276 -0.1734)
OKLCHoklch(53.68% 0.215 306.3)
XYZxyz(23.7363, 13.2867, 59.0599)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3BCD #7ACD3B
analogous
#453BCD #8E3BCD #CD3BC3
triadic
#8E3BCD #CD8E3B #3BCD8E
tetradic
#8E3BCD #CD453B #7ACD3B #3BC3CD
square
#8E3BCD #CD453B #7ACD3B #3BC3CD
split-complementary
#8E3BCD #C3CD3B #3BCD45
monochromatic
#4D1D71 #6E29A2 #8E3BCD #AA6CD9 #C69DE6

Accessibility & contrast

On white

5.74
#8E3BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#8E3BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E3BCD
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3BCD#FFFFFF#000000##FFFFFF
##8E3BCD1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#835D80
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8e3bcd;
/* rgb */ color: rgb(142, 59, 205);
/* oklch */ color: oklch(53.7% 0.215 306.3);
Tailwind
colors: {
  custom: {
    50: '#b478dd',
    500: '#8e3bcd',
    950: '#000000',
  },
}
SCSS
$custom: #8e3bcd;
$custom-light: #b478dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3bcd",
  "rgb": {
    "r": 142,
    "g": 59,
    "b": 205
  },
  "hsl": {
    "h": 274.11,
    "s": 59.35,
    "l": 51.765
  },
  "oklch": {
    "l": 0.53684,
    "c": 0.21528,
    "h": 306.3
  },
  "luminance": 0.13286
}

Semantic roles & 50–950 ramp

primary
#8E3BCD
secondary
#AED292
accent
#E34589
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8E3BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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