#A766DD#A766DD

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

Color values

HEX#A766DD
RGBrgb(167, 102, 221)
HSLhsl(273, 64%, 63%)
HSVhsv(273, 54%, 87%)
CMYKcmyk(24.4%, 53.8%, 0%, 13.3%)
CIE-LABlab(55.01, 47.94, -51.04)
CIE-LCHlch(55.01, 70.02, 313.21°)
OKLaboklab(63.23% 0.109 -0.1434)
OKLCHoklch(63.23% 0.18 307.2)
XYZxyz(33.7362, 22.9391, 71.0430)
Luminance0.2294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A766DD #9CDD66
analogous
#6B66DD #A766DD #DD66D7
triadic
#A766DD #DDA766 #66DDA7
tetradic
#A766DD #DD6B66 #9CDD66 #66D7DD
square
#A766DD #DD6B66 #9CDD66 #66D7DD
split-complementary
#A766DD #D7DD66 #66DD6B
monochromatic
#6A24A4 #8A34D2 #A766DD #C498E8 #E1CAF3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A766DD#FFFFFF#000000##000000
##A766DD1.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)
#4081E1
Deuteranopia (green-blind)
#5584DA
Tritanopia (blue-blind)
#9F7C98
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a766dd;
/* rgb */ color: rgb(167, 102, 221);
/* oklch */ color: oklch(63.2% 0.180 307.2);
Tailwind
colors: {
  custom: {
    50: '#c494e8',
    500: '#a766dd',
    950: '#000000',
  },
}
SCSS
$custom: #a766dd;
$custom-light: #c494e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a766dd",
  "rgb": {
    "r": 167,
    "g": 102,
    "b": 221
  },
  "hsl": {
    "h": 272.773,
    "s": 63.636,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63229,
    "c": 0.18013,
    "h": 307.2
  },
  "luminance": 0.22939
}

Semantic roles & 50–950 ramp

primary
#A766DD
secondary
#CDE5BA
accent
#CB1A6B
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A766DD

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

Preview Lab → · Contrast checker → · Palette generator →

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