#A766F0#A766F0

#A766F0 is a light, highly saturated violet. Relative luminance 0.240; OKLCH L 64.4% C 0.202 H 302.9°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#A766F0
RGBrgb(167, 102, 240)
HSLhsl(268, 82%, 67%)
HSVhsv(268, 58%, 94%)
CMYKcmyk(30.4%, 57.5%, 0%, 5.9%)
CIE-LABlab(56.10, 52.38, -59.95)
CIE-LCHlch(56.10, 79.60, 311.14°)
OKLaboklab(64.38% 0.1095 -0.1695)
OKLCHoklch(64.38% 0.202 302.9)
XYZxyz(36.4123, 24.0095, 85.1372)
Luminance0.2401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A766F0 #AFF066
analogous
#666AF0 #A766F0 #EC66F0
triadic
#A766F0 #F0A766 #66F0A7
tetradic
#A766F0 #F0666A #AFF066 #66F0EC
square
#A766F0 #F0666A #AFF066 #66F0EC
split-complementary
#A766F0 #F0EC66 #6AF066
monochromatic
#6914C8 #872EEB #A766F0 #C79EF5 #E7D5FB

Accessibility & contrast

On white

3.62
#A766F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#A766F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A766F0
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A766F0#FFFFFF#000000##000000
##A766F01.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2785F4
Deuteranopia (green-blind)
#4486ED
Tritanopia (blue-blind)
#9982A1
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a766f0;
/* rgb */ color: rgb(167, 102, 240);
/* oklch */ color: oklch(64.4% 0.202 302.9);
Tailwind
colors: {
  custom: {
    50: '#c594f6',
    500: '#a766f0',
    950: '#000000',
  },
}
SCSS
$custom: #a766f0;
$custom-light: #c594f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a766f0",
  "rgb": {
    "r": 167,
    "g": 102,
    "b": 240
  },
  "hsl": {
    "h": 268.261,
    "s": 82.143,
    "l": 67.059
  },
  "oklch": {
    "l": 0.64379,
    "c": 0.20182,
    "h": 302.9
  },
  "luminance": 0.2401
}

Semantic roles & 50–950 ramp

primary
#A766F0
secondary
#DAEFC3
accent
#DF0779
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130D17
muted
#827E85

Preview Lab

Preview with #A766F0

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

Preview Lab → · Contrast checker → · Palette generator →

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