#A766EA#A766EA

#A766EA is a light, vivid violet. Relative luminance 0.237; OKLCH L 64.0% C 0.195 H 304.1°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#A766EA
RGBrgb(167, 102, 234)
HSLhsl(270, 76%, 66%)
HSVhsv(270, 56%, 92%)
CMYKcmyk(28.6%, 56.4%, 0%, 8.2%)
CIE-LABlab(55.74, 50.96, -57.16)
CIE-LCHlch(55.74, 76.58, 311.71°)
OKLaboklab(64.01% 0.1095 -0.1614)
OKLCHoklch(64.01% 0.195 304.1)
XYZxyz(35.5357, 23.6589, 80.5205)
Luminance0.2366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A766EA #A9EA66
analogous
#6667EA #A766EA #E966EA
triadic
#A766EA #EAA766 #66EAA7
tetradic
#A766EA #EA6667 #A9EA66 #66EAE9
square
#A766EA #EA6667 #A9EA66 #66EAE9
split-complementary
#A766EA #EAE966 #67EA66
monochromatic
#6A1ABC #8830E3 #A766EA #C69CF1 #E5D2F9

Accessibility & contrast

On white

3.66
#A766EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#A766EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A766EA
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A766EA#FFFFFF#000000##000000
##A766EA1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3184EE
Deuteranopia (green-blind)
#4A86E7
Tritanopia (blue-blind)
#9B809E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a766ea;
/* rgb */ color: rgb(167, 102, 234);
/* oklch */ color: oklch(64.0% 0.195 304.1);
Tailwind
colors: {
  custom: {
    50: '#c594f1',
    500: '#a766ea',
    950: '#000000',
  },
}
SCSS
$custom: #a766ea;
$custom-light: #c594f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a766ea",
  "rgb": {
    "r": 167,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 269.545,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.64007,
    "c": 0.19498,
    "h": 304.1
  },
  "luminance": 0.23659
}

Semantic roles & 50–950 ramp

primary
#A766EA
secondary
#D6ECC0
accent
#D80D74
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A766EA

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

Preview Lab → · Contrast checker → · Palette generator →

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