#A766EF#A766EF

#A766EF is a light, highly saturated violet. Relative luminance 0.239; OKLCH L 64.3% C 0.201 H 303.1°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#A766EF
RGBrgb(167, 102, 239)
HSLhsl(268, 81%, 67%)
HSVhsv(268, 57%, 94%)
CMYKcmyk(30.1%, 57.3%, 0%, 6.3%)
CIE-LABlab(56.04, 52.14, -59.49)
CIE-LCHlch(56.04, 79.10, 311.23°)
OKLaboklab(64.32% 0.1095 -0.1682)
OKLCHoklch(64.32% 0.201 303.1)
XYZxyz(36.2642, 23.9503, 84.3570)
Luminance0.2395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A766EF #AEEF66
analogous
#666AEF #A766EF #EB66EF
triadic
#A766EF #EFA766 #66EFA7
tetradic
#A766EF #EF666A #AEEF66 #66EFEB
square
#A766EF #EF666A #AEEF66 #66EFEB
split-complementary
#A766EF #EFEB66 #6AEF66
monochromatic
#6915C6 #872FE9 #A766EF #C79DF5 #E7D5FB

Accessibility & contrast

On white

3.63
#A766EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#A766EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A766EF
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A766EF#FFFFFF#000000##000000
##A766EF1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2985F3
Deuteranopia (green-blind)
#4586EC
Tritanopia (blue-blind)
#9981A1
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a766ef;
/* rgb */ color: rgb(167, 102, 239);
/* oklch */ color: oklch(64.3% 0.201 303.1);
Tailwind
colors: {
  custom: {
    50: '#c594f5',
    500: '#a766ef',
    950: '#000000',
  },
}
SCSS
$custom: #a766ef;
$custom-light: #c594f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a766ef",
  "rgb": {
    "r": 167,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 268.467,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.64316,
    "c": 0.20068,
    "h": 303.1
  },
  "luminance": 0.2395
}

Semantic roles & 50–950 ramp

primary
#A766EF
secondary
#DAEEC2
accent
#DD0878
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130D17
muted
#827E85

Preview Lab

Preview with #A766EF

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

Preview Lab → · Contrast checker → · Palette generator →

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