#8E6BDD#8E6BDD

#8E6BDD is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.5% C 0.168 H 295.2°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8E6BDD
RGBrgb(142, 107, 221)
HSLhsl(258, 63%, 64%)
HSVhsv(258, 52%, 87%)
CMYKcmyk(35.7%, 51.6%, 0%, 13.3%)
CIE-LABlab(53.48, 38.91, -53.63)
CIE-LCHlch(53.48, 66.26, 305.96°)
OKLaboklab(61.5% 0.0713 -0.1517)
OKLCHoklch(61.5% 0.168 295.2)
XYZxyz(29.4608, 21.4861, 70.9877)
Luminance0.2149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E6BDD #BADD6B
analogous
#6B81DD #8E6BDD #C76BDD
triadic
#8E6BDD #DD8E6B #6BDD8E
tetradic
#8E6BDD #DD6B81 #BADD6B #6BDDC7
square
#8E6BDD #DD6B81 #BADD6B #6BDDC7
split-complementary
#8E6BDD #DDC76B #81DD6B
monochromatic
#4E26A7 #6839D2 #8E6BDD #B49DE8 #DACFF4

Accessibility & contrast

On white

3.96
#8E6BDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#8E6BDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E6BDD
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E6BDD#FFFFFF#000000##000000
##8E6BDD1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E81E1
Deuteranopia (green-blind)
#467EDA
Tritanopia (blue-blind)
#7B829A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8e6bdd;
/* rgb */ color: rgb(142, 107, 221);
/* oklch */ color: oklch(61.5% 0.168 295.2);
Tailwind
colors: {
  custom: {
    50: '#b396e8',
    500: '#8e6bdd',
    950: '#000000',
  },
}
SCSS
$custom: #8e6bdd;
$custom-light: #b396e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e6bdd",
  "rgb": {
    "r": 142,
    "g": 107,
    "b": 221
  },
  "hsl": {
    "h": 258.421,
    "s": 62.637,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61499,
    "c": 0.16766,
    "h": 295.2
  },
  "luminance": 0.21487
}

Semantic roles & 50–950 ramp

primary
#8E6BDD
secondary
#DAE6BE
accent
#CA1B95
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8E6BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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