#8E68DD#8E68DD

#8E68DD is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.0% C 0.172 H 295.9°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8E68DD
RGBrgb(142, 104, 221)
HSLhsl(259, 63%, 64%)
HSVhsv(259, 53%, 87%)
CMYKcmyk(35.7%, 52.9%, 0%, 13.3%)
CIE-LABlab(52.81, 40.61, -54.70)
CIE-LCHlch(52.81, 68.13, 306.59°)
OKLaboklab(61% 0.0751 -0.1549)
OKLCHoklch(61% 0.172 295.9)
XYZxyz(29.1535, 20.8714, 70.8852)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E68DD #B7DD68
analogous
#687CDD #8E68DD #C868DD
triadic
#8E68DD #DD8E68 #68DD8E
tetradic
#8E68DD #DD687C #B7DD68 #68DDC8
square
#8E68DD #DD687C #B7DD68 #68DDC8
split-complementary
#8E68DD #DDC868 #7CDD68
monochromatic
#4F25A5 #6936D2 #8E68DD #B39AE8 #D9CCF3

Accessibility & contrast

On white

4.06
#8E68DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#8E68DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E68DD
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E68DD#FFFFFF#000000##000000
##8E68DD1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#377FE1
Deuteranopia (green-blind)
#427CDA
Tritanopia (blue-blind)
#7B8099
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8e68dd;
/* rgb */ color: rgb(142, 104, 221);
/* oklch */ color: oklch(61.0% 0.172 295.9);
Tailwind
colors: {
  custom: {
    50: '#b394e8',
    500: '#8e68dd',
    950: '#000000',
  },
}
SCSS
$custom: #8e68dd;
$custom-light: #b394e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e68dd",
  "rgb": {
    "r": 142,
    "g": 104,
    "b": 221
  },
  "hsl": {
    "h": 259.487,
    "s": 63.243,
    "l": 63.725
  },
  "oklch": {
    "l": 0.61002,
    "c": 0.17212,
    "h": 295.9
  },
  "luminance": 0.20872
}

Semantic roles & 50–950 ramp

primary
#8E68DD
secondary
#D8E5BC
accent
#CB1A92
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8E68DD

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

Preview Lab → · Contrast checker → · Palette generator →

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