#A766FE#A766FE

#A766FE is a light, highly saturated violet. Relative luminance 0.249; OKLCH L 65.3% C 0.218 H 300.1°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#A766FE
RGBrgb(167, 102, 254)
HSLhsl(266, 99%, 70%)
HSVhsv(266, 60%, 100%)
CMYKcmyk(34.3%, 59.8%, 0%, 0.4%)
CIE-LABlab(56.95, 55.73, -66.34)
CIE-LCHlch(56.95, 86.65, 310.03°)
OKLaboklab(65.28% 0.1092 -0.1883)
OKLCHoklch(65.28% 0.218 300.1)
XYZxyz(38.5728, 24.8737, 96.5156)
Luminance0.2487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A766FE #BDFE66
analogous
#6671FE #A766FE #F366FE
triadic
#A766FE #FEA766 #66FEA7
tetradic
#A766FE #FE6671 #BDFE66 #66FEF3
square
#A766FE #FE6671 #BDFE66 #66FEF3
split-complementary
#A766FE #FEF366 #71FE66
monochromatic
#6402E8 #8429FE #A766FE #CAA3FE #EDE0FF

Accessibility & contrast

On white

3.51
#A766FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#A766FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A766FE
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A766FE#FFFFFF#000000##000000
##A766FE1.003.515.975.97
#FFFFFF3.511.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#3188FB
Tritanopia (blue-blind)
#9486A9
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a766fe;
/* rgb */ color: rgb(167, 102, 254);
/* oklch */ color: oklch(65.3% 0.218 300.1);
Tailwind
colors: {
  custom: {
    50: '#c694ff',
    500: '#a766fe',
    950: '#000000',
  },
}
SCSS
$custom: #a766fe;
$custom-light: #c694ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a766fe",
  "rgb": {
    "r": 167,
    "g": 102,
    "b": 254
  },
  "hsl": {
    "h": 265.658,
    "s": 98.701,
    "l": 69.804
  },
  "oklch": {
    "l": 0.65276,
    "c": 0.21769,
    "h": 300.1
  },
  "luminance": 0.24874
}

Semantic roles & 50–950 ramp

primary
#A766FE
secondary
#E3F5CA
accent
#E60083
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #A766FE

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

Preview Lab → · Contrast checker → · Palette generator →

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