#8E3BBD#8E3BBD

#8E3BBD is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.5% C 0.199 H 310.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8E3BBD
RGBrgb(142, 59, 189)
HSLhsl(278, 52%, 49%)
HSVhsv(278, 69%, 74%)
CMYKcmyk(24.9%, 68.8%, 0%, 25.9%)
CIE-LABlab(42.08, 56.19, -53.54)
CIE-LCHlch(42.08, 77.61, 316.38°)
OKLaboklab(52.54% 0.1297 -0.1513)
OKLCHoklch(52.54% 0.199 310.6)
XYZxyz(21.9028, 12.5533, 49.4035)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E3BBD #6ABD3B
analogous
#4D3BBD #8E3BBD #BD3BAB
triadic
#8E3BBD #BD8E3B #3BBD8E
tetradic
#8E3BBD #BD4D3B #6ABD3B #3BABBD
square
#8E3BBD #BD4D3B #6ABD3B #3BABBD
split-complementary
#8E3BBD #ABBD3B #3BBD4D
monochromatic
#481E60 #6B2C8E #8E3BBD #A966CF #C395DE

Accessibility & contrast

On white

5.98
#8E3BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8E3BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E3BBD
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E3BBD#FFFFFF#000000##FFFFFF
##8E3BBD1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#2865BA
Tritanopia (blue-blind)
#885778
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8e3bbd;
/* rgb */ color: rgb(142, 59, 189);
/* oklch */ color: oklch(52.5% 0.199 310.6);
Tailwind
colors: {
  custom: {
    50: '#b377d2',
    500: '#8e3bbd',
    950: '#000000',
  },
}
SCSS
$custom: #8e3bbd;
$custom-light: #b377d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e3bbd",
  "rgb": {
    "r": 142,
    "g": 59,
    "b": 189
  },
  "hsl": {
    "h": 278.308,
    "s": 52.419,
    "l": 48.627
  },
  "oklch": {
    "l": 0.52542,
    "c": 0.19931,
    "h": 310.6
  },
  "luminance": 0.12553
}

Semantic roles & 50–950 ramp

primary
#8E3BBD
secondary
#A1C98B
accent
#DC4C80
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8E3BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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