#8E3BB9#8E3BB9

#8E3BB9 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.3% C 0.195 H 311.8°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8E3BB9
RGBrgb(142, 59, 185)
HSLhsl(280, 52%, 48%)
HSVhsv(280, 68%, 73%)
CMYKcmyk(23.2%, 68.1%, 0%, 27.5%)
CIE-LABlab(41.82, 55.32, -51.62)
CIE-LCHlch(41.82, 75.67, 316.98°)
OKLaboklab(52.27% 0.1301 -0.1457)
OKLCHoklch(52.27% 0.195 311.8)
XYZxyz(21.4746, 12.3820, 47.1483)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3BB9 #66B93B
analogous
#4F3BB9 #8E3BB9 #B93BA5
triadic
#8E3BB9 #B98E3B #3BB98E
tetradic
#8E3BB9 #B94F3B #66B93B #3BA5B9
square
#8E3BB9 #B94F3B #66B93B #3BA5B9
split-complementary
#8E3BB9 #A5B93B #3BB94F
monochromatic
#471D5C #6A2C8B #8E3BB9 #A964CD #C392DC

Accessibility & contrast

On white

6.04
#8E3BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8E3BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E3BB9
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3BB9#FFFFFF#000000##FFFFFF
##8E3BB91.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBD
Deuteranopia (green-blind)
#2D64B6
Tritanopia (blue-blind)
#895575
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8e3bb9;
/* rgb */ color: rgb(142, 59, 185);
/* oklch */ color: oklch(52.3% 0.195 311.8);
Tailwind
colors: {
  custom: {
    50: '#b377cf',
    500: '#8e3bb9',
    950: '#000000',
  },
}
SCSS
$custom: #8e3bb9;
$custom-light: #b377cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3bb9",
  "rgb": {
    "r": 142,
    "g": 59,
    "b": 185
  },
  "hsl": {
    "h": 279.524,
    "s": 51.639,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52268,
    "c": 0.19533,
    "h": 311.8
  },
  "luminance": 0.12381
}

Semantic roles & 50–950 ramp

primary
#8E3BB9
secondary
#9EC788
accent
#DB4D7D
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8E3BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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