#A766EC#A766EC

#A766EC is a light, vivid violet. Relative luminance 0.238; OKLCH L 64.1% C 0.197 H 303.7°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#A766EC
RGBrgb(167, 102, 236)
HSLhsl(269, 78%, 66%)
HSVhsv(269, 57%, 93%)
CMYKcmyk(29.2%, 56.8%, 0%, 7.5%)
CIE-LABlab(55.86, 51.43, -58.09)
CIE-LCHlch(55.86, 77.59, 311.52°)
OKLaboklab(64.13% 0.1095 -0.1641)
OKLCHoklch(64.13% 0.197 303.7)
XYZxyz(35.8247, 23.7744, 82.0422)
Luminance0.2377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A766EC #ABEC66
analogous
#6668EC #A766EC #EA66EC
triadic
#A766EC #ECA766 #66ECA7
tetradic
#A766EC #EC6668 #ABEC66 #66ECEA
square
#A766EC #EC6668 #ABEC66 #66ECEA
split-complementary
#A766EC #ECEA66 #68EC66
monochromatic
#6918C0 #8830E5 #A766EC #C69CF3 #E6D3FA

Accessibility & contrast

On white

3.65
#A766EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#A766EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A766EC
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A766EC#FFFFFF#000000##000000
##A766EC1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E84F0
Deuteranopia (green-blind)
#4886E9
Tritanopia (blue-blind)
#9A809F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a766ec;
/* rgb */ color: rgb(167, 102, 236);
/* oklch */ color: oklch(64.1% 0.197 303.7);
Tailwind
colors: {
  custom: {
    50: '#c594f3',
    500: '#a766ec',
    950: '#000000',
  },
}
SCSS
$custom: #a766ec;
$custom-light: #c594f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a766ec",
  "rgb": {
    "r": 167,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 269.104,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.6413,
    "c": 0.19726,
    "h": 303.7
  },
  "luminance": 0.23774
}

Semantic roles & 50–950 ramp

primary
#A766EC
secondary
#D8EDC1
accent
#DA0B76
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A766EC

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

Preview Lab → · Contrast checker → · Palette generator →

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