#8E3BC2#8E3BC2

#8E3BC2 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.9% C 0.204 H 309.2°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#8E3BC2
RGBrgb(142, 59, 194)
HSLhsl(277, 53%, 50%)
HSVhsv(277, 70%, 76%)
CMYKcmyk(26.8%, 69.6%, 0%, 23.9%)
CIE-LABlab(42.42, 57.28, -55.92)
CIE-LCHlch(42.42, 80.05, 315.69°)
OKLaboklab(52.89% 0.1291 -0.1583)
OKLCHoklch(52.89% 0.204 309.2)
XYZxyz(22.4549, 12.7742, 52.3112)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3BC2 #6FC23B
analogous
#4B3BC2 #8E3BC2 #C23BB3
triadic
#8E3BC2 #C28E3B #3BC28E
tetradic
#8E3BC2 #C24B3B #6FC23B #3BB3C2
square
#8E3BC2 #C24B3B #6FC23B #3BB3C2
split-complementary
#8E3BC2 #B3C23B #3BC24B
monochromatic
#491E64 #6C2D93 #8E3BC2 #A969D1 #C498E0

Accessibility & contrast

On white

5.91
#8E3BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#8E3BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E3BC2
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3BC2#FFFFFF#000000##FFFFFF
##8E3BC21.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#1F65BF
Tritanopia (blue-blind)
#86597A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8e3bc2;
/* rgb */ color: rgb(142, 59, 194);
/* oklch */ color: oklch(52.9% 0.204 309.2);
Tailwind
colors: {
  custom: {
    50: '#b378d5',
    500: '#8e3bc2',
    950: '#000000',
  },
}
SCSS
$custom: #8e3bc2;
$custom-light: #b378d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3bc2",
  "rgb": {
    "r": 142,
    "g": 59,
    "b": 194
  },
  "hsl": {
    "h": 276.889,
    "s": 53.36,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52892,
    "c": 0.20429,
    "h": 309.2
  },
  "luminance": 0.12774
}

Semantic roles & 50–950 ramp

primary
#8E3BC2
secondary
#A5CB8E
accent
#DD4B83
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8E3BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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