#8E3BCB#8E3BCB

#8E3BCB is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.5% C 0.213 H 306.8°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8E3BCB
RGBrgb(142, 59, 203)
HSLhsl(275, 58%, 51%)
HSVhsv(275, 71%, 80%)
CMYKcmyk(30%, 70.9%, 0%, 20.4%)
CIE-LABlab(43.05, 59.28, -60.13)
CIE-LCHlch(43.05, 84.44, 314.59°)
OKLaboklab(53.54% 0.1279 -0.1707)
OKLCHoklch(53.54% 0.213 306.8)
XYZxyz(23.4965, 13.1908, 57.7966)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3BCB #78CB3B
analogous
#463BCB #8E3BCB #CB3BC0
triadic
#8E3BCB #CB8E3B #3BCB8E
tetradic
#8E3BCB #CB463B #78CB3B #3BC0CB
square
#8E3BCB #CB463B #78CB3B #3BC0CB
split-complementary
#8E3BCB #C0CB3B #3BCB46
monochromatic
#4C1D6E #6D2A9F #8E3BCB #AA6BD8 #C69CE5

Accessibility & contrast

On white

5.77
#8E3BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#8E3BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E3BCB
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3BCB#FFFFFF#000000##FFFFFF
##8E3BCB1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#0366C8
Tritanopia (blue-blind)
#845C7F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8e3bcb;
/* rgb */ color: rgb(142, 59, 203);
/* oklch */ color: oklch(53.5% 0.213 306.8);
Tailwind
colors: {
  custom: {
    50: '#b478dc',
    500: '#8e3bcb',
    950: '#000000',
  },
}
SCSS
$custom: #8e3bcb;
$custom-light: #b478dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3bcb",
  "rgb": {
    "r": 142,
    "g": 59,
    "b": 203
  },
  "hsl": {
    "h": 274.583,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53538,
    "c": 0.21329,
    "h": 306.8
  },
  "luminance": 0.13191
}

Semantic roles & 50–950 ramp

primary
#8E3BCB
secondary
#ACD191
accent
#E14788
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8E3BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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