#8A66DB#8A66DB

#8A66DB is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.2% C 0.172 H 294.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8A66DB
RGBrgb(138, 102, 219)
HSLhsl(258, 62%, 63%)
HSVhsv(258, 53%, 86%)
CMYKcmyk(37%, 53.4%, 0%, 14.1%)
CIE-LABlab(51.86, 40.26, -55.11)
CIE-LCHlch(51.86, 68.25, 306.14°)
OKLaboklab(60.17% 0.0725 -0.1562)
OKLCHoklch(60.17% 0.172 294.9)
XYZxyz(28.0155, 20.0199, 69.3923)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A66DB #B7DB66
analogous
#667CDB #8A66DB #C566DB
triadic
#8A66DB #DB8A66 #66DB8A
tetradic
#8A66DB #DB667C #B7DB66 #66DBC5
square
#8A66DB #DB667C #B7DB66 #66DBC5
split-complementary
#8A66DB #DBC566 #7CDB66
monochromatic
#4C26A1 #6434CF #8A66DB #B098E7 #D6C9F2

Accessibility & contrast

On white

4.20
#8A66DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#8A66DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A66DB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A66DB#FFFFFF#000000##000000
##8A66DB1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#337DDF
Deuteranopia (green-blind)
#3D7AD8
Tritanopia (blue-blind)
#767E97
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8a66db;
/* rgb */ color: rgb(138, 102, 219);
/* oklch */ color: oklch(60.2% 0.172 294.9);
Tailwind
colors: {
  custom: {
    50: '#b092e7',
    500: '#8a66db',
    950: '#000000',
  },
}
SCSS
$custom: #8a66db;
$custom-light: #b092e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a66db",
  "rgb": {
    "r": 138,
    "g": 102,
    "b": 219
  },
  "hsl": {
    "h": 258.462,
    "s": 61.905,
    "l": 62.941
  },
  "oklch": {
    "l": 0.6017,
    "c": 0.17218,
    "h": 294.9
  },
  "luminance": 0.2002
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A66DB

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

Preview Lab → · Contrast checker → · Palette generator →

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