#A766E7#A766E7

#A766E7 is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.8% C 0.192 H 304.8°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#A766E7
RGBrgb(167, 102, 231)
HSLhsl(270, 73%, 65%)
HSVhsv(270, 56%, 91%)
CMYKcmyk(27.7%, 55.8%, 0%, 9.4%)
CIE-LABlab(55.57, 50.25, -55.76)
CIE-LCHlch(55.57, 75.07, 312.03°)
OKLaboklab(63.82% 0.1094 -0.1572)
OKLCHoklch(63.82% 0.192 304.8)
XYZxyz(35.1084, 23.4879, 78.2699)
Luminance0.2349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A766E7 #A6E766
analogous
#6766E7 #A766E7 #E766E6
triadic
#A766E7 #E7A766 #66E7A7
tetradic
#A766E7 #E76766 #A6E766 #66E6E7
square
#A766E7 #E76766 #A6E766 #66E6E7
split-complementary
#A766E7 #E6E766 #66E767
monochromatic
#6A1DB6 #8931DF #A766E7 #C59BEF #E4D0F8

Accessibility & contrast

On white

3.69
#A766E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#A766E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A766E7
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A766E7#FFFFFF#000000##000000
##A766E71.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3583EB
Deuteranopia (green-blind)
#4D85E4
Tritanopia (blue-blind)
#9C7F9D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a766e7;
/* rgb */ color: rgb(167, 102, 231);
/* oklch */ color: oklch(63.8% 0.192 304.8);
Tailwind
colors: {
  custom: {
    50: '#c494ef',
    500: '#a766e7',
    950: '#000000',
  },
}
SCSS
$custom: #a766e7;
$custom-light: #c494ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a766e7",
  "rgb": {
    "r": 167,
    "g": 102,
    "b": 231
  },
  "hsl": {
    "h": 270.233,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.63824,
    "c": 0.19156,
    "h": 304.8
  },
  "luminance": 0.23488
}

Semantic roles & 50–950 ramp

primary
#A766E7
secondary
#D4EABF
accent
#D51172
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A766E7

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

Preview Lab → · Contrast checker → · Palette generator →

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