#A766E9#A766E9

#A766E9 is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.9% C 0.194 H 304.4°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#A766E9
RGBrgb(167, 102, 233)
HSLhsl(270, 75%, 66%)
HSVhsv(270, 56%, 91%)
CMYKcmyk(28.3%, 56.2%, 0%, 8.6%)
CIE-LABlab(55.69, 50.72, -56.70)
CIE-LCHlch(55.69, 76.07, 311.82°)
OKLaboklab(63.95% 0.1094 -0.16)
OKLCHoklch(63.95% 0.194 304.4)
XYZxyz(35.3925, 23.6016, 79.7660)
Luminance0.2360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A766E9 #A8E966
analogous
#6666E9 #A766E9 #E866E9
triadic
#A766E9 #E9A766 #66E9A7
tetradic
#A766E9 #E96666 #A8E966 #66E9E8
square
#A766E9 #E96666 #A8E966 #66E9E8
split-complementary
#A766E9 #E9E866 #66E966
monochromatic
#6A1BBA #8830E1 #A766E9 #C69CF1 #E5D1F8

Accessibility & contrast

On white

3.67
#A766E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#A766E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A766E9
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A766E9#FFFFFF#000000##000000
##A766E91.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3284ED
Deuteranopia (green-blind)
#4B85E6
Tritanopia (blue-blind)
#9B7F9E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a766e9;
/* rgb */ color: rgb(167, 102, 233);
/* oklch */ color: oklch(63.9% 0.194 304.4);
Tailwind
colors: {
  custom: {
    50: '#c594f1',
    500: '#a766e9',
    950: '#000000',
  },
}
SCSS
$custom: #a766e9;
$custom-light: #c594f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a766e9",
  "rgb": {
    "r": 167,
    "g": 102,
    "b": 233
  },
  "hsl": {
    "h": 269.771,
    "s": 74.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.63946,
    "c": 0.19383,
    "h": 304.4
  },
  "luminance": 0.23601
}

Semantic roles & 50–950 ramp

primary
#A766E9
secondary
#D6EBC0
accent
#D70E74
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A766E9

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

Preview Lab → · Contrast checker → · Palette generator →

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