#A766DB#A766DB

#A766DB is a light, vivid violet. Relative luminance 0.228; OKLCH L 63.1% C 0.178 H 307.7°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#A766DB
RGBrgb(167, 102, 219)
HSLhsl(273, 62%, 63%)
HSVhsv(273, 53%, 86%)
CMYKcmyk(23.7%, 53.4%, 0%, 14.1%)
CIE-LABlab(54.90, 47.48, -50.08)
CIE-LCHlch(54.90, 69.01, 313.47°)
OKLaboklab(63.11% 0.1089 -0.1406)
OKLCHoklch(63.11% 0.178 307.7)
XYZxyz(33.4713, 22.8331, 69.6480)
Luminance0.2283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A766DB #9ADB66
analogous
#6C66DB #A766DB #DB66D5
triadic
#A766DB #DBA766 #66DBA7
tetradic
#A766DB #DB6C66 #9ADB66 #66D5DB
square
#A766DB #DB6C66 #9ADB66 #66D5DB
split-complementary
#A766DB #D5DB66 #66DB6C
monochromatic
#6A26A1 #8B34CF #A766DB #C398E7 #E0C9F2

Accessibility & contrast

On white

3.77
#A766DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#A766DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A766DB
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A766DB#FFFFFF#000000##000000
##A766DB1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a766db;
/* rgb */ color: rgb(167, 102, 219);
/* oklch */ color: oklch(63.1% 0.178 307.7);
Tailwind
colors: {
  custom: {
    50: '#c494e7',
    500: '#a766db',
    950: '#000000',
  },
}
SCSS
$custom: #a766db;
$custom-light: #c494e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a766db",
  "rgb": {
    "r": 167,
    "g": 102,
    "b": 219
  },
  "hsl": {
    "h": 273.333,
    "s": 61.905,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63113,
    "c": 0.17785,
    "h": 307.7
  },
  "luminance": 0.22833
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A766DB

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

Preview Lab → · Contrast checker → · Palette generator →

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