#8E3BD2#8E3BD2

#8E3BD2 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 54.1% C 0.220 H 305.1°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#8E3BD2
RGBrgb(142, 59, 210)
HSLhsl(273, 63%, 53%)
HSVhsv(273, 72%, 82%)
CMYKcmyk(32.4%, 71.9%, 0%, 17.6%)
CIE-LABlab(43.55, 60.86, -63.35)
CIE-LCHlch(43.55, 87.84, 313.85°)
OKLaboklab(54.06% 0.1268 -0.1801)
OKLCHoklch(54.06% 0.22 305.1)
XYZxyz(24.3495, 13.5320, 62.2894)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3BD2 #7FD23B
analogous
#423BD2 #8E3BD2 #D23BCB
triadic
#8E3BD2 #D28E3B #3BD28E
tetradic
#8E3BD2 #D2423B #7FD23B #3BCBD2
square
#8E3BD2 #D2423B #7FD23B #3BCBD2
split-complementary
#8E3BD2 #CBD23B #3BD242
monochromatic
#4E1B77 #6E27A9 #8E3BD2 #AB6DDD #C79FE9

Accessibility & contrast

On white

5.67
#8E3BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#8E3BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E3BD2
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3BD2#FFFFFF#000000##FFFFFF
##8E3BD21.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D6
Deuteranopia (green-blind)
#0067CF
Tritanopia (blue-blind)
#815F83
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8e3bd2;
/* rgb */ color: rgb(142, 59, 210);
/* oklch */ color: oklch(54.1% 0.220 305.1);
Tailwind
colors: {
  custom: {
    50: '#b578e1',
    500: '#8e3bd2',
    950: '#000000',
  },
}
SCSS
$custom: #8e3bd2;
$custom-light: #b578e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3bd2",
  "rgb": {
    "r": 142,
    "g": 59,
    "b": 210
  },
  "hsl": {
    "h": 272.98,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54055,
    "c": 0.22028,
    "h": 305.1
  },
  "luminance": 0.13532
}

Semantic roles & 50–950 ramp

primary
#8E3BD2
secondary
#B1D594
accent
#E6428C
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8E3BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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