#8E4BE1#8E4BE1

#8E4BE1 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.0% C 0.217 H 300.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8E4BE1
RGBrgb(142, 75, 225)
HSLhsl(267, 71%, 59%)
HSVhsv(267, 67%, 88%)
CMYKcmyk(36.9%, 66.7%, 0%, 11.8%)
CIE-LABlab(47.26, 57.06, -65.91)
CIE-LCHlch(47.26, 87.17, 310.88°)
OKLaboklab(57.04% 0.1085 -0.1877)
OKLCHoklch(57.04% 0.217 300)
XYZxyz(27.2587, 16.2189, 72.9140)
Luminance0.1622 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E4BE1 #9EE14B
analogous
#4B53E1 #8E4BE1 #D94BE1
triadic
#8E4BE1 #E18E4B #4BE18E
tetradic
#8E4BE1 #E14B53 #9EE14B #4BE1D9
square
#8E4BE1 #E14B53 #9EE14B #4BE1D9
split-complementary
#8E4BE1 #E1D94B #53E14B
monochromatic
#521998 #6E22CD #8E4BE1 #AF7FEA #D0B4F2

Accessibility & contrast

On white

4.95
#8E4BE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#8E4BE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E4BE1
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E4BE1#FFFFFF#000000##FFFFFF
##8E4BE11.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E6
Deuteranopia (green-blind)
#006FDE
Tritanopia (blue-blind)
#7B6E90
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8e4be1;
/* rgb */ color: rgb(142, 75, 225);
/* oklch */ color: oklch(57.0% 0.217 300.0);
Tailwind
colors: {
  custom: {
    50: '#b582eb',
    500: '#8e4be1',
    950: '#000000',
  },
}
SCSS
$custom: #8e4be1;
$custom-light: #b582eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8e4be1",
  "rgb": {
    "r": 142,
    "g": 75,
    "b": 225
  },
  "hsl": {
    "h": 266.8,
    "s": 71.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57037,
    "c": 0.21683,
    "h": 300
  },
  "luminance": 0.16219
}

Semantic roles & 50–950 ramp

primary
#8E4BE1
secondary
#C7E1A6
accent
#EE3A9E
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8E4BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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