#8E6FCD#8E6FCD

#8E6FCD is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.2% C 0.141 H 297.3°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#8E6FCD
RGBrgb(142, 111, 205)
HSLhsl(260, 48%, 62%)
HSVhsv(260, 46%, 80%)
CMYKcmyk(30.7%, 45.9%, 0%, 19.6%)
CIE-LABlab(53.52, 32.46, -44.50)
CIE-LCHlch(53.52, 55.08, 306.11°)
OKLaboklab(61.25% 0.0645 -0.125)
OKLCHoklch(61.25% 0.141 297.3)
XYZxyz(27.8565, 21.5271, 60.4333)
Luminance0.2153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E6FCD #AECD6F
analogous
#6F7FCD #8E6FCD #BD6FCD
triadic
#8E6FCD #CD8E6F #6FCD8E
tetradic
#8E6FCD #CD6F7F #AECD6F #6FCDBD
square
#8E6FCD #CD6F7F #AECD6F #6FCDBD
split-complementary
#8E6FCD #CDBD6F #7FCD6F
monochromatic
#513290 #6A42BD #8E6FCD #B29CDD #D5CAED

Accessibility & contrast

On white

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

On black

5.31
#8E6FCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E6FCD
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E6FCD#FFFFFF#000000##000000
##8E6FCD1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5280D0
Deuteranopia (green-blind)
#587FCB
Tritanopia (blue-blind)
#818094
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8e6fcd;
/* rgb */ color: rgb(142, 111, 205);
/* oklch */ color: oklch(61.2% 0.141 297.3);
Tailwind
colors: {
  custom: {
    50: '#b199dd',
    500: '#8e6fcd',
    950: '#000000',
  },
}
SCSS
$custom: #8e6fcd;
$custom-light: #b199dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e6fcd",
  "rgb": {
    "r": 142,
    "g": 111,
    "b": 205
  },
  "hsl": {
    "h": 259.787,
    "s": 48.454,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61248,
    "c": 0.14066,
    "h": 297.3
  },
  "luminance": 0.21527
}

Semantic roles & 50–950 ramp

primary
#8E6FCD
secondary
#D2DDBB
accent
#BC2A8C
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #8E6FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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