#A766F7#A766F7

#A766F7 is a light, highly saturated violet. Relative luminance 0.244; OKLCH L 64.8% C 0.210 H 301.4°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#A766F7
RGBrgb(167, 102, 247)
HSLhsl(267, 90%, 68%)
HSVhsv(267, 59%, 97%)
CMYKcmyk(32.4%, 58.7%, 0%, 3.1%)
CIE-LABlab(56.52, 54.05, -63.16)
CIE-LCHlch(56.52, 83.13, 310.55°)
OKLaboklab(64.82% 0.1094 -0.179)
OKLCHoklch(64.82% 0.21 301.4)
XYZxyz(37.4723, 24.4335, 90.7196)
Luminance0.2443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A766F7 #B6F766
analogous
#666DF7 #A766F7 #F066F7
triadic
#A766F7 #F7A766 #66F7A7
tetradic
#A766F7 #F7666D #B6F766 #66F7F0
square
#A766F7 #F7666D #B6F766 #66F7F0
split-complementary
#A766F7 #F7F066 #6DF766
monochromatic
#670BD7 #862CF4 #A766F7 #C8A0FA #EADAFD

Accessibility & contrast

On white

3.57
#A766F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#A766F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A766F7
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A766F7#FFFFFF#000000##000000
##A766F71.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1687FC
Deuteranopia (green-blind)
#3B87F4
Tritanopia (blue-blind)
#9784A5
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a766f7;
/* rgb */ color: rgb(167, 102, 247);
/* oklch */ color: oklch(64.8% 0.210 301.4);
Tailwind
colors: {
  custom: {
    50: '#c694fb',
    500: '#a766f7',
    950: '#000000',
  },
}
SCSS
$custom: #a766f7;
$custom-light: #c694fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a766f7",
  "rgb": {
    "r": 167,
    "g": 102,
    "b": 247
  },
  "hsl": {
    "h": 266.897,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.64822,
    "c": 0.20977,
    "h": 301.4
  },
  "luminance": 0.24434
}

Semantic roles & 50–950 ramp

primary
#A766F7
secondary
#DFF2C7
accent
#E6007F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A766F7

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

Preview Lab → · Contrast checker → · Palette generator →

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