#8C66DB#8C66DB

#8C66DB is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.4% C 0.172 H 295.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8C66DB
RGBrgb(140, 102, 219)
HSLhsl(259, 62%, 63%)
HSVhsv(259, 53%, 86%)
CMYKcmyk(36.1%, 53.4%, 0%, 14.1%)
CIE-LABlab(52.05, 40.74, -54.79)
CIE-LCHlch(52.05, 68.28, 306.63°)
OKLaboklab(60.36% 0.075 -0.1552)
OKLCHoklch(60.36% 0.172 295.8)
XYZxyz(28.3495, 20.1922, 69.4080)
Luminance0.2019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C66DB #B5DB66
analogous
#667ADB #8C66DB #C666DB
triadic
#8C66DB #DB8C66 #66DB8C
tetradic
#8C66DB #DB667A #B5DB66 #66DBC6
square
#8C66DB #DB667A #B5DB66 #66DBC6
split-complementary
#8C66DB #DBC666 #7ADB66
monochromatic
#4E26A1 #6734CF #8C66DB #B198E7 #D6C9F2

Accessibility & contrast

On white

4.17
#8C66DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#8C66DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C66DB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C66DB#FFFFFF#000000##000000
##8C66DB1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#347DDF
Deuteranopia (green-blind)
#3F7BD8
Tritanopia (blue-blind)
#797E97
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8c66db;
/* rgb */ color: rgb(140, 102, 219);
/* oklch */ color: oklch(60.4% 0.172 295.8);
Tailwind
colors: {
  custom: {
    50: '#b293e7',
    500: '#8c66db',
    950: '#000000',
  },
}
SCSS
$custom: #8c66db;
$custom-light: #b293e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8c66db",
  "rgb": {
    "r": 140,
    "g": 102,
    "b": 219
  },
  "hsl": {
    "h": 259.487,
    "s": 61.905,
    "l": 62.941
  },
  "oklch": {
    "l": 0.6036,
    "c": 0.17235,
    "h": 295.8
  },
  "luminance": 0.20193
}

Semantic roles & 50–950 ramp

primary
#8C66DB
secondary
#D6E3B9
accent
#CA1C91
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8C66DB

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

Preview Lab → · Contrast checker → · Palette generator →

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