#8E7DD5#8E7DD5

#8E7DD5 is a light, vivid violet. Relative luminance 0.252; OKLCH L 64.2% C 0.130 H 291.2°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8E7DD5
RGBrgb(142, 125, 213)
HSLhsl(252, 51%, 66%)
HSVhsv(252, 41%, 84%)
CMYKcmyk(33.3%, 41.3%, 0%, 16.5%)
CIE-LABlab(57.29, 26.39, -43.07)
CIE-LCHlch(57.29, 50.51, 301.50°)
OKLaboklab(64.23% 0.0468 -0.1208)
OKLCHoklch(64.23% 0.13 291.2)
XYZxyz(30.4961, 25.2214, 66.1994)
Luminance0.2522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E7DD5 #C4D57D
analogous
#7D98D5 #8E7DD5 #BA7DD5
triadic
#8E7DD5 #D58E7D #7DD58E
tetradic
#8E7DD5 #D57D98 #C4D57D #7DD5BA
square
#8E7DD5 #D57D98 #C4D57D #7DD5BA
split-complementary
#8E7DD5 #D5BA7D #98D57D
monochromatic
#4A35A3 #664FC6 #8E7DD5 #B6ABE4 #DEDAF3

Accessibility & contrast

On white

3.47
#8E7DD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#8E7DD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E7DD5
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E7DD5#FFFFFF#000000##000000
##8E7DD51.003.476.046.04
#FFFFFF3.471.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#618BD8
Deuteranopia (green-blind)
#6388D3
Tritanopia (blue-blind)
#7D8D9F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8e7dd5;
/* rgb */ color: rgb(142, 125, 213);
/* oklch */ color: oklch(64.2% 0.130 291.2);
Tailwind
colors: {
  custom: {
    50: '#b1a2e2',
    500: '#8e7dd5',
    950: '#000000',
  },
}
SCSS
$custom: #8e7dd5;
$custom-light: #b1a2e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e7dd5",
  "rgb": {
    "r": 142,
    "g": 125,
    "b": 213
  },
  "hsl": {
    "h": 251.591,
    "s": 51.163,
    "l": 66.275
  },
  "oklch": {
    "l": 0.64226,
    "c": 0.1296,
    "h": 291.2
  },
  "luminance": 0.25222
}

Semantic roles & 50–950 ramp

primary
#8E7DD5
secondary
#E0E5C9
accent
#BF27A1
background
#FBFAFD
surface
#F6F3FB
border
#D0CDD4
text
#110F15
muted
#807F83

Preview Lab

Preview with #8E7DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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