#A666DB#A666DB

#A666DB is a light, vivid violet. Relative luminance 0.227; OKLCH L 63.0% C 0.178 H 307.3°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#A666DB
RGBrgb(166, 102, 219)
HSLhsl(273, 62%, 63%)
HSVhsv(273, 53%, 86%)
CMYKcmyk(24.2%, 53.4%, 0%, 14.1%)
CIE-LABlab(54.79, 47.23, -50.27)
CIE-LCHlch(54.79, 68.97, 313.21°)
OKLaboklab(63.01% 0.1076 -0.1412)
OKLCHoklch(63.01% 0.178 307.3)
XYZxyz(33.2608, 22.7246, 69.6382)
Luminance0.2272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A666DB #9BDB66
analogous
#6C66DB #A666DB #DB66D5
triadic
#A666DB #DBA666 #66DBA6
tetradic
#A666DB #DB6C66 #9BDB66 #66D5DB
square
#A666DB #DB6C66 #9BDB66 #66D5DB
split-complementary
#A666DB #D5DB66 #66DB6C
monochromatic
#6926A1 #8934CF #A666DB #C398E7 #E0C9F2

Accessibility & contrast

On white

3.79
#A666DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#A666DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A666DB
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A666DB#FFFFFF#000000##000000
##A666DB1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4181DF
Deuteranopia (green-blind)
#5684D8
Tritanopia (blue-blind)
#9E7B97
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a666db;
/* rgb */ color: rgb(166, 102, 219);
/* oklch */ color: oklch(63.0% 0.178 307.3);
Tailwind
colors: {
  custom: {
    50: '#c394e7',
    500: '#a666db',
    950: '#000000',
  },
}
SCSS
$custom: #a666db;
$custom-light: #c394e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a666db",
  "rgb": {
    "r": 166,
    "g": 102,
    "b": 219
  },
  "hsl": {
    "h": 272.821,
    "s": 61.905,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63005,
    "c": 0.17755,
    "h": 307.3
  },
  "luminance": 0.22724
}

Semantic roles & 50–950 ramp

primary
#A666DB
secondary
#CCE3B9
accent
#CA1C6B
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A666DB

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

Preview Lab → · Contrast checker → · Palette generator →

#A666DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva