#8E5FDA#8E5FDA

#8E5FDA is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.4% C 0.182 H 298.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8E5FDA
RGBrgb(142, 95, 218)
HSLhsl(263, 62%, 61%)
HSVhsv(263, 56%, 85%)
CMYKcmyk(34.9%, 56.4%, 0%, 14.5%)
CIE-LABlab(50.68, 44.86, -56.41)
CIE-LCHlch(50.68, 72.08, 308.50°)
OKLaboklab(59.38% 0.0862 -0.1599)
OKLCHoklch(59.38% 0.182 298.3)
XYZxyz(27.8993, 18.9968, 68.5130)
Luminance0.1900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E5FDA #ABDA5F
analogous
#5F6EDA #8E5FDA #CC5FDA
triadic
#8E5FDA #DA8E5F #5FDA8E
tetradic
#8E5FDA #DA5F6E #ABDA5F #5FDACC
square
#8E5FDA #DA5F6E #ABDA5F #5FDACC
split-complementary
#8E5FDA #DACC5F #6EDA5F
monochromatic
#51249B #6B2FCD #8E5FDA #B191E5 #D4C2F1

Accessibility & contrast

On white

4.38
#8E5FDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#8E5FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E5FDA
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E5FDA#FFFFFF#000000##000000
##8E5FDA1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2479DE
Deuteranopia (green-blind)
#3777D7
Tritanopia (blue-blind)
#7D7893
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8e5fda;
/* rgb */ color: rgb(142, 95, 218);
/* oklch */ color: oklch(59.4% 0.182 298.3);
Tailwind
colors: {
  custom: {
    50: '#b38ee6',
    500: '#8e5fda',
    950: '#000000',
  },
}
SCSS
$custom: #8e5fda;
$custom-light: #b38ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e5fda",
  "rgb": {
    "r": 142,
    "g": 95,
    "b": 218
  },
  "hsl": {
    "h": 262.927,
    "s": 62.437,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59376,
    "c": 0.18161,
    "h": 298.3
  },
  "luminance": 0.18997
}

Semantic roles & 50–950 ramp

primary
#8E5FDA
secondary
#D0E1B3
accent
#CA1B87
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8E5FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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