#A766EE#A766EE

#A766EE is a light, vivid violet. Relative luminance 0.239; OKLCH L 64.3% C 0.200 H 303.3°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#A766EE
RGBrgb(167, 102, 238)
HSLhsl(269, 80%, 67%)
HSVhsv(269, 57%, 93%)
CMYKcmyk(29.8%, 57.1%, 0%, 6.7%)
CIE-LABlab(55.98, 51.90, -59.02)
CIE-LCHlch(55.98, 78.60, 311.33°)
OKLaboklab(64.25% 0.1095 -0.1668)
OKLCHoklch(64.25% 0.2 303.3)
XYZxyz(36.1169, 23.8913, 83.5811)
Luminance0.2389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A766EE #ADEE66
analogous
#6669EE #A766EE #EB66EE
triadic
#A766EE #EEA766 #66EEA7
tetradic
#A766EE #EE6669 #ADEE66 #66EEEB
square
#A766EE #EE6669 #ADEE66 #66EEEB
split-complementary
#A766EE #EEEB66 #69EE66
monochromatic
#6916C4 #872FE8 #A766EE #C79DF4 #E6D4FA

Accessibility & contrast

On white

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

On black

5.78
#A766EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A766EE
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A766EE#FFFFFF#000000##000000
##A766EE1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A85F2
Deuteranopia (green-blind)
#4686EB
Tritanopia (blue-blind)
#9A81A0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a766ee;
/* rgb */ color: rgb(167, 102, 238);
/* oklch */ color: oklch(64.3% 0.200 303.3);
Tailwind
colors: {
  custom: {
    50: '#c594f4',
    500: '#a766ee',
    950: '#000000',
  },
}
SCSS
$custom: #a766ee;
$custom-light: #c594f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a766ee",
  "rgb": {
    "r": 167,
    "g": 102,
    "b": 238
  },
  "hsl": {
    "h": 268.676,
    "s": 80,
    "l": 66.667
  },
  "oklch": {
    "l": 0.64254,
    "c": 0.19953,
    "h": 303.3
  },
  "luminance": 0.23891
}

Semantic roles & 50–950 ramp

primary
#A766EE
secondary
#D9EEC2
accent
#DC0977
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130D17
muted
#827E85

Preview Lab

Preview with #A766EE

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

Preview Lab → · Contrast checker → · Palette generator →

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