#A766DE#A766DE

#A766DE is a light, vivid violet. Relative luminance 0.230; OKLCH L 63.3% C 0.181 H 307.0°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#A766DE
RGBrgb(167, 102, 222)
HSLhsl(273, 65%, 64%)
HSVhsv(273, 54%, 87%)
CMYKcmyk(24.8%, 54.1%, 0%, 12.9%)
CIE-LABlab(55.06, 48.17, -51.51)
CIE-LCHlch(55.06, 70.53, 313.08°)
OKLaboklab(63.29% 0.109 -0.1448)
OKLCHoklch(63.29% 0.181 307)
XYZxyz(33.8698, 22.9925, 71.7468)
Luminance0.2299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A766DE #9DDE66
analogous
#6B66DE #A766DE #DE66D9
triadic
#A766DE #DEA766 #66DEA7
tetradic
#A766DE #DE6B66 #9DDE66 #66D9DE
square
#A766DE #DE6B66 #9DDE66 #66D9DE
split-complementary
#A766DE #D9DE66 #66DE6B
monochromatic
#6A24A6 #8A34D3 #A766DE #C498E9 #E1CBF4

Accessibility & contrast

On white

3.75
#A766DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#A766DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A766DE
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A766DE#FFFFFF#000000##000000
##A766DE1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F81E2
Deuteranopia (green-blind)
#5584DB
Tritanopia (blue-blind)
#9F7C98
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a766de;
/* rgb */ color: rgb(167, 102, 222);
/* oklch */ color: oklch(63.3% 0.181 307.0);
Tailwind
colors: {
  custom: {
    50: '#c494e9',
    500: '#a766de',
    950: '#000000',
  },
}
SCSS
$custom: #a766de;
$custom-light: #c494e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a766de",
  "rgb": {
    "r": 167,
    "g": 102,
    "b": 222
  },
  "hsl": {
    "h": 272.5,
    "s": 64.516,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63288,
    "c": 0.18127,
    "h": 307
  },
  "luminance": 0.22992
}

Semantic roles & 50–950 ramp

primary
#A766DE
secondary
#CEE5BB
accent
#CC196B
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A766DE

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

Preview Lab → · Contrast checker → · Palette generator →

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