#8E4BDB#8E4BDB

#8E4BDB is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.6% C 0.210 H 301.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8E4BDB
RGBrgb(142, 75, 219)
HSLhsl(268, 67%, 58%)
HSVhsv(268, 66%, 86%)
CMYKcmyk(35.2%, 65.8%, 0%, 14.1%)
CIE-LABlab(46.84, 55.60, -63.18)
CIE-LCHlch(46.84, 84.16, 311.35°)
OKLaboklab(56.6% 0.1092 -0.1797)
OKLCHoklch(56.6% 0.21 301.3)
XYZxyz(26.4545, 15.8973, 68.6789)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4BDB #98DB4B
analogous
#4B50DB #8E4BDB #D64BDB
triadic
#8E4BDB #DB8E4B #4BDB8E
tetradic
#8E4BDB #DB4B50 #98DB4B #4BDBD6
square
#8E4BDB #DB4B50 #98DB4B #4BDBD6
split-complementary
#8E4BDB #DBD64B #50DB4B
monochromatic
#521D8F #6F27C2 #8E4BDB #AE7EE5 #CEB1EF

Accessibility & contrast

On white

5.02
#8E4BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#8E4BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4BDB
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4BDB#FFFFFF#000000##FFFFFF
##8E4BDB1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#006ED8
Tritanopia (blue-blind)
#7E6C8D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8e4bdb;
/* rgb */ color: rgb(142, 75, 219);
/* oklch */ color: oklch(56.6% 0.210 301.3);
Tailwind
colors: {
  custom: {
    50: '#b481e7',
    500: '#8e4bdb',
    950: '#000000',
  },
}
SCSS
$custom: #8e4bdb;
$custom-light: #b481e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4bdb",
  "rgb": {
    "r": 142,
    "g": 75,
    "b": 219
  },
  "hsl": {
    "h": 267.917,
    "s": 66.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56602,
    "c": 0.21028,
    "h": 301.3
  },
  "luminance": 0.15897
}

Semantic roles & 50–950 ramp

primary
#8E4BDB
secondary
#C3DEA4
accent
#EA3E9A
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E4BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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