#A66FBC#A66FBC

#A66FBC is a light, vivid purple. Relative luminance 0.231; OKLCH L 62.8% C 0.127 H 315.8°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#A66FBC
RGBrgb(166, 111, 188)
HSLhsl(283, 36%, 59%)
HSVhsv(283, 41%, 74%)
CMYKcmyk(11.7%, 41%, 0%, 26.3%)
CIE-LABlab(55.18, 35.44, -32.00)
CIE-LCHlch(55.18, 47.75, 317.92°)
OKLaboklab(62.8% 0.0909 -0.0883)
OKLCHoklch(62.8% 0.127 315.8)
XYZxyz(30.4861, 23.1075, 50.4214)
Luminance0.2311 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A66FBC #85BC6F
analogous
#7F6FBC #A66FBC #BC6FAB
triadic
#A66FBC #BCA66F #6FBCA6
tetradic
#A66FBC #BC7F6F #85BC6F #6FABBC
square
#A66FBC #BC7F6F #85BC6F #6FABBC
split-complementary
#A66FBC #ABBC6F #6FBC7F
monochromatic
#663879 #894CA2 #A66FBC #C099CF #DAC3E3

Accessibility & contrast

On white

3.74
#A66FBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#A66FBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A66FBC
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A66FBC#FFFFFF#000000##000000
##A66FBC1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6281BF
Deuteranopia (green-blind)
#7086BA
Tritanopia (blue-blind)
#A5798D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a66fbc;
/* rgb */ color: rgb(166, 111, 188);
/* oklch */ color: oklch(62.8% 0.127 315.8);
Tailwind
colors: {
  custom: {
    50: '#c299d0',
    500: '#a66fbc',
    950: '#000000',
  },
}
SCSS
$custom: #a66fbc;
$custom-light: #c299d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a66fbc",
  "rgb": {
    "r": 166,
    "g": 111,
    "b": 188
  },
  "hsl": {
    "h": 282.857,
    "s": 36.493,
    "l": 58.627
  },
  "oklch": {
    "l": 0.628,
    "c": 0.12674,
    "h": 315.8
  },
  "luminance": 0.23107
}

Semantic roles & 50–950 ramp

primary
#A66FBC
secondary
#BDD3B4
accent
#CC5B7C
background
#FCF9FC
surface
#F8F2F9
border
#D1CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #A66FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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