#8E3CC3#8E3CC3

#8E3CC3 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.1% C 0.204 H 308.8°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#8E3CC3
RGBrgb(142, 60, 195)
HSLhsl(276, 53%, 50%)
HSVhsv(276, 69%, 76%)
CMYKcmyk(27.2%, 69.2%, 0%, 23.5%)
CIE-LABlab(42.65, 57.06, -56.13)
CIE-LCHlch(42.65, 80.04, 315.47°)
OKLaboklab(53.08% 0.128 -0.1589)
OKLCHoklch(53.08% 0.204 308.8)
XYZxyz(22.6195, 12.9230, 52.9220)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3CC3 #71C33C
analogous
#4A3CC3 #8E3CC3 #C33CB5
triadic
#8E3CC3 #C38E3C #3CC38E
tetradic
#8E3CC3 #C34A3C #71C33C #3CB5C3
square
#8E3CC3 #C34A3C #71C33C #3CB5C3
split-complementary
#8E3CC3 #B5C33C #3CC34A
monochromatic
#4A1F65 #6C2E94 #8E3CC3 #A96BD1 #C49AE0

Accessibility & contrast

On white

5.86
#8E3CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8E3CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E3CC3
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3CC3#FFFFFF#000000##FFFFFF
##8E3CC31.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C7
Deuteranopia (green-blind)
#1F66C0
Tritanopia (blue-blind)
#865A7B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8e3cc3;
/* rgb */ color: rgb(142, 60, 195);
/* oklch */ color: oklch(53.1% 0.204 308.8);
Tailwind
colors: {
  custom: {
    50: '#b378d6',
    500: '#8e3cc3',
    950: '#000000',
  },
}
SCSS
$custom: #8e3cc3;
$custom-light: #b378d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3cc3",
  "rgb": {
    "r": 142,
    "g": 60,
    "b": 195
  },
  "hsl": {
    "h": 276.444,
    "s": 52.941,
    "l": 50
  },
  "oklch": {
    "l": 0.53075,
    "c": 0.20406,
    "h": 308.8
  },
  "luminance": 0.12923
}

Semantic roles & 50–950 ramp

primary
#8E3CC3
secondary
#A7CC8F
accent
#DC4B84
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8E3CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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