#8E4BBB#8E4BBB

#8E4BBB is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.4% C 0.175 H 309.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8E4BBB
RGBrgb(142, 75, 187)
HSLhsl(276, 45%, 51%)
HSVhsv(276, 60%, 73%)
CMYKcmyk(24.1%, 59.9%, 0%, 26.7%)
CIE-LABlab(44.76, 48.04, -48.07)
CIE-LCHlch(44.76, 67.96, 314.98°)
OKLaboklab(54.44% 0.111 -0.1354)
OKLCHoklch(54.44% 0.175 309.4)
XYZxyz(22.6393, 14.3712, 48.5854)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4BBB #78BB4B
analogous
#564BBB #8E4BBB #BB4BB0
triadic
#8E4BBB #BB8E4B #4BBB8E
tetradic
#8E4BBB #BB564B #78BB4B #4BB0BB
square
#8E4BBB #BB564B #78BB4B #4BB0BB
split-complementary
#8E4BBB #B0BB4B #4BBB56
monochromatic
#4C2665 #6D3792 #8E4BBB #AA77CC #C6A4DD

Accessibility & contrast

On white

5.42
#8E4BBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#8E4BBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4BBB
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4BBB#FFFFFF#000000##FFFFFF
##8E4BBB1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F67BF
Deuteranopia (green-blind)
#3D6BB8
Tritanopia (blue-blind)
#88607C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8e4bbb;
/* rgb */ color: rgb(142, 75, 187);
/* oklch */ color: oklch(54.4% 0.175 309.4);
Tailwind
colors: {
  custom: {
    50: '#b281d0',
    500: '#8e4bbb',
    950: '#000000',
  },
}
SCSS
$custom: #8e4bbb;
$custom-light: #b281d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4bbb",
  "rgb": {
    "r": 142,
    "g": 75,
    "b": 187
  },
  "hsl": {
    "h": 275.893,
    "s": 45.161,
    "l": 51.373
  },
  "oklch": {
    "l": 0.54435,
    "c": 0.17507,
    "h": 309.4
  },
  "luminance": 0.14371
}

Semantic roles & 50–950 ramp

primary
#8E4BBB
secondary
#ACCA98
accent
#D55387
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8E4BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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