#8E4CBF#8E4CBF

#8E4CBF is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.8% C 0.178 H 308.1°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#8E4CBF
RGBrgb(142, 76, 191)
HSLhsl(274, 47%, 52%)
HSVhsv(274, 60%, 75%)
CMYKcmyk(25.7%, 60.2%, 0%, 25.1%)
CIE-LABlab(45.20, 48.45, -49.71)
CIE-LCHlch(45.20, 69.41, 314.26°)
OKLaboklab(54.83% 0.1097 -0.1402)
OKLCHoklch(54.83% 0.178 308.1)
XYZxyz(23.1418, 14.6816, 50.8948)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4CBF #7DBF4C
analogous
#554CBF #8E4CBF #BF4CB6
triadic
#8E4CBF #BF8E4C #4CBF8E
tetradic
#8E4CBF #BF554C #7DBF4C #4CB6BF
square
#8E4CBF #BF554C #7DBF4C #4CB6BF
split-complementary
#8E4CBF #B6BF4C #4CBF55
monochromatic
#4D266B #6E3698 #8E4CBF #AA79CF #C7A6DF

Accessibility & contrast

On white

5.34
#8E4CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#8E4CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4CBF
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4CBF#FFFFFF#000000##FFFFFF
##8E4CBF1.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A68C3
Deuteranopia (green-blind)
#3A6CBC
Tritanopia (blue-blind)
#87627E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8e4cbf;
/* rgb */ color: rgb(142, 76, 191);
/* oklch */ color: oklch(54.8% 0.178 308.1);
Tailwind
colors: {
  custom: {
    50: '#b281d3',
    500: '#8e4cbf',
    950: '#000000',
  },
}
SCSS
$custom: #8e4cbf;
$custom-light: #b281d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4cbf",
  "rgb": {
    "r": 142,
    "g": 76,
    "b": 191
  },
  "hsl": {
    "h": 274.435,
    "s": 47.325,
    "l": 52.353
  },
  "oklch": {
    "l": 0.5483,
    "c": 0.17801,
    "h": 308.1
  },
  "luminance": 0.14681
}

Semantic roles & 50–950 ramp

primary
#8E4CBF
secondary
#B0CC9A
accent
#D7518A
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8E4CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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