#A766EB#A766EB

#A766EB is a light, vivid violet. Relative luminance 0.237; OKLCH L 64.1% C 0.196 H 303.9°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#A766EB
RGBrgb(167, 102, 235)
HSLhsl(269, 77%, 66%)
HSVhsv(269, 57%, 92%)
CMYKcmyk(28.9%, 56.6%, 0%, 7.8%)
CIE-LABlab(55.80, 51.19, -57.63)
CIE-LCHlch(55.80, 77.08, 311.62°)
OKLaboklab(64.07% 0.1095 -0.1627)
OKLCHoklch(64.07% 0.196 303.9)
XYZxyz(35.6798, 23.7165, 81.2792)
Luminance0.2372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A766EB #AAEB66
analogous
#6667EB #A766EB #E966EB
triadic
#A766EB #EBA766 #66EBA7
tetradic
#A766EB #EB6667 #AAEB66 #66EBE9
square
#A766EB #EB6667 #AAEB66 #66EBE9
split-complementary
#A766EB #EBE966 #67EB66
monochromatic
#6919BE #8830E4 #A766EB #C69CF2 #E5D2F9

Accessibility & contrast

On white

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

On black

5.74
#A766EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A766EB
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A766EB#FFFFFF#000000##000000
##A766EB1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F84EF
Deuteranopia (green-blind)
#4986E8
Tritanopia (blue-blind)
#9B809F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a766eb;
/* rgb */ color: rgb(167, 102, 235);
/* oklch */ color: oklch(64.1% 0.196 303.9);
Tailwind
colors: {
  custom: {
    50: '#c594f2',
    500: '#a766eb',
    950: '#000000',
  },
}
SCSS
$custom: #a766eb;
$custom-light: #c594f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a766eb",
  "rgb": {
    "r": 167,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 269.323,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64068,
    "c": 0.19612,
    "h": 303.9
  },
  "luminance": 0.23716
}

Semantic roles & 50–950 ramp

primary
#A766EB
secondary
#D7ECC1
accent
#D90C75
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A766EB

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

Preview Lab → · Contrast checker → · Palette generator →

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