#A66BCB#A66BCB

#A66BCB is a light, vivid violet. Relative luminance 0.229; OKLCH L 62.9% C 0.151 H 311.1°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#A66BCB
RGBrgb(166, 107, 203)
HSLhsl(277, 48%, 61%)
HSVhsv(277, 47%, 80%)
CMYKcmyk(18.2%, 47.3%, 0%, 20.4%)
CIE-LABlab(55.01, 40.91, -40.85)
CIE-LCHlch(55.01, 57.82, 315.04°)
OKLaboklab(62.9% 0.0993 -0.1138)
OKLCHoklch(62.9% 0.151 311.1)
XYZxyz(31.7611, 22.9348, 59.2420)
Luminance0.2293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66BCB #90CB6B
analogous
#766BCB #A66BCB #CB6BC0
triadic
#A66BCB #CBA66B #6BCBA6
tetradic
#A66BCB #CB766B #90CB6B #6BC0CB
square
#A66BCB #CB766B #90CB6B #6BC0CB
split-complementary
#A66BCB #C0CB6B #6BCB76
monochromatic
#68318B #8A41B8 #A66BCB #C198DB #DCC6EB

Accessibility & contrast

On white

3.76
#A66BCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#A66BCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66BCB
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66BCB#FFFFFF#000000##000000
##A66BCB1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5581CE
Deuteranopia (green-blind)
#6585C8
Tritanopia (blue-blind)
#A27A91
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a66bcb;
/* rgb */ color: rgb(166, 107, 203);
/* oklch */ color: oklch(62.9% 0.151 311.1);
Tailwind
colors: {
  custom: {
    50: '#c297db',
    500: '#a66bcb',
    950: '#000000',
  },
}
SCSS
$custom: #a66bcb;
$custom-light: #c297db;
$custom-dark: #000000;
JSON
{
  "hex": "#a66bcb",
  "rgb": {
    "r": 166,
    "g": 107,
    "b": 203
  },
  "hsl": {
    "h": 276.875,
    "s": 48,
    "l": 60.784
  },
  "oklch": {
    "l": 0.62896,
    "c": 0.15101,
    "h": 311.1
  },
  "luminance": 0.22934
}

Semantic roles & 50–950 ramp

primary
#A66BCB
secondary
#C5DBB7
accent
#BB2A62
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #A66BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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