#8E4BDD#8E4BDD

#8E4BDD is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.7% C 0.212 H 300.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8E4BDD
RGBrgb(142, 75, 221)
HSLhsl(268, 68%, 58%)
HSVhsv(268, 66%, 87%)
CMYKcmyk(35.7%, 66.1%, 0%, 13.3%)
CIE-LABlab(46.98, 56.08, -64.09)
CIE-LCHlch(46.98, 85.16, 311.19°)
OKLaboklab(56.75% 0.109 -0.1824)
OKLCHoklch(56.75% 0.212 300.8)
XYZxyz(26.7194, 16.0032, 70.0738)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4BDD #9ADD4B
analogous
#4B51DD #8E4BDD #D74BDD
triadic
#8E4BDD #DD8E4B #4BDD8E
tetradic
#8E4BDD #DD4B51 #9ADD4B #4BDDD7
square
#8E4BDD #DD4B51 #9ADD4B #4BDDD7
split-complementary
#8E4BDD #DDD74B #51DD4B
monochromatic
#521C92 #6F25C5 #8E4BDD #AE7EE7 #CFB2F0

Accessibility & contrast

On white

5.00
#8E4BDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#8E4BDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4BDD
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4BDD#FFFFFF#000000##FFFFFF
##8E4BDD1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE1
Deuteranopia (green-blind)
#006EDA
Tritanopia (blue-blind)
#7D6C8E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8e4bdd;
/* rgb */ color: rgb(142, 75, 221);
/* oklch */ color: oklch(56.7% 0.212 300.8);
Tailwind
colors: {
  custom: {
    50: '#b581e8',
    500: '#8e4bdd',
    950: '#000000',
  },
}
SCSS
$custom: #8e4bdd;
$custom-light: #b581e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4bdd",
  "rgb": {
    "r": 142,
    "g": 75,
    "b": 221
  },
  "hsl": {
    "h": 267.534,
    "s": 68.224,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56746,
    "c": 0.21247,
    "h": 300.8
  },
  "luminance": 0.16003
}

Semantic roles & 50–950 ramp

primary
#8E4BDD
secondary
#C4DFA5
accent
#EB3D9B
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E4BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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