#A66BDB#A66BDB

#A66BDB is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.8% C 0.170 H 306.5°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#A66BDB
RGBrgb(166, 107, 219)
HSLhsl(272, 61%, 64%)
HSVhsv(272, 51%, 86%)
CMYKcmyk(24.2%, 51.1%, 0%, 14.1%)
CIE-LABlab(55.82, 44.54, -48.62)
CIE-LCHlch(55.82, 65.94, 312.49°)
OKLaboklab(63.77% 0.101 -0.1364)
OKLCHoklch(63.77% 0.17 306.5)
XYZxyz(33.7671, 23.7372, 69.8069)
Luminance0.2374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66BDB #A0DB6B
analogous
#6E6BDB #A66BDB #DB6BD8
triadic
#A66BDB #DBA66B #6BDBA6
tetradic
#A66BDB #DB6E6B #A0DB6B #6BD8DB
square
#A66BDB #DB6E6B #A0DB6B #6BD8DB
split-complementary
#A66BDB #D8DB6B #6BDB6E
monochromatic
#6928A4 #883ACF #A66BDB #C49CE7 #E1CDF3

Accessibility & contrast

On white

3.65
#A66BDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#A66BDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66BDB
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66BDB#FFFFFF#000000##000000
##A66BDB1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A84DF
Deuteranopia (green-blind)
#5B86D8
Tritanopia (blue-blind)
#9E7F99
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a66bdb;
/* rgb */ color: rgb(166, 107, 219);
/* oklch */ color: oklch(63.8% 0.170 306.5);
Tailwind
colors: {
  custom: {
    50: '#c397e7',
    500: '#a66bdb',
    950: '#000000',
  },
}
SCSS
$custom: #a66bdb;
$custom-light: #c397e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a66bdb",
  "rgb": {
    "r": 166,
    "g": 107,
    "b": 219
  },
  "hsl": {
    "h": 271.607,
    "s": 60.87,
    "l": 63.922
  },
  "oklch": {
    "l": 0.63771,
    "c": 0.16974,
    "h": 306.5
  },
  "luminance": 0.23737
}

Semantic roles & 50–950 ramp

primary
#A66BDB
secondary
#D0E5BD
accent
#C91D6E
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130E16
muted
#827E84

Preview Lab

Preview with #A66BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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