#8E4BDE#8E4BDE

#8E4BDE is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.8% C 0.214 H 300.6°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8E4BDE
RGBrgb(142, 75, 222)
HSLhsl(267, 69%, 58%)
HSVhsv(267, 66%, 87%)
CMYKcmyk(36%, 66.2%, 0%, 12.9%)
CIE-LABlab(47.05, 56.32, -64.55)
CIE-LCHlch(47.05, 85.67, 311.11°)
OKLaboklab(56.82% 0.1088 -0.1837)
OKLCHoklch(56.82% 0.214 300.6)
XYZxyz(26.8530, 16.0567, 70.7776)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4BDE #9BDE4B
analogous
#4B51DE #8E4BDE #D74BDE
triadic
#8E4BDE #DE8E4B #4BDE8E
tetradic
#8E4BDE #DE4B51 #9BDE4B #4BDED7
square
#8E4BDE #DE4B51 #9BDE4B #4BDED7
split-complementary
#8E4BDE #DED74B #51DE4B
monochromatic
#521B94 #6F25C7 #8E4BDE #AE7FE7 #CFB2F1

Accessibility & contrast

On white

4.99
#8E4BDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#8E4BDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4BDE
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4BDE#FFFFFF#000000##FFFFFF
##8E4BDE1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE2
Deuteranopia (green-blind)
#006FDB
Tritanopia (blue-blind)
#7D6D8E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8e4bde;
/* rgb */ color: rgb(142, 75, 222);
/* oklch */ color: oklch(56.8% 0.214 300.6);
Tailwind
colors: {
  custom: {
    50: '#b582e9',
    500: '#8e4bde',
    950: '#000000',
  },
}
SCSS
$custom: #8e4bde;
$custom-light: #b582e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4bde",
  "rgb": {
    "r": 142,
    "g": 75,
    "b": 222
  },
  "hsl": {
    "h": 267.347,
    "s": 69.014,
    "l": 58.235
  },
  "oklch": {
    "l": 0.56818,
    "c": 0.21357,
    "h": 300.6
  },
  "luminance": 0.16057
}

Semantic roles & 50–950 ramp

primary
#8E4BDE
secondary
#C5E0A5
accent
#EC3C9C
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E4BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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