#A766FF#A766FF

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

Color values

HEX#A766FF
RGBrgb(167, 102, 255)
HSLhsl(265, 100%, 70%)
HSVhsv(265, 60%, 100%)
CMYKcmyk(34.5%, 60%, 0%, 0%)
CIE-LABlab(57.01, 55.98, -66.79)
CIE-LCHlch(57.01, 87.15, 309.97°)
OKLaboklab(65.34% 0.1092 -0.1896)
OKLCHoklch(65.34% 0.219 299.9)
XYZxyz(38.7333, 24.9379, 97.3612)
Luminance0.2494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A766FF #BEFF66
analogous
#6672FF #A766FF #F366FF
triadic
#A766FF #FFA766 #66FFA7
tetradic
#A766FF #FF6672 #BEFF66 #66FFF3
square
#A766FF #FF6672 #BEFF66 #66FFF3
split-complementary
#A766FF #FFF366 #72FF66
monochromatic
#6400EB #8429FF #A766FF #CAA3FF #EDE0FF

Accessibility & contrast

On white

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

On black

5.99
#A766FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A766FF
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A766FF#FFFFFF#000000##000000
##A766FF1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#2F88FC
Tritanopia (blue-blind)
#9487A9
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #a766ff;
/* rgb */ color: rgb(167, 102, 255);
/* oklch */ color: oklch(65.3% 0.219 299.9);
Tailwind
colors: {
  custom: {
    50: '#c694ff',
    500: '#a766ff',
    950: '#000000',
  },
}
SCSS
$custom: #a766ff;
$custom-light: #c694ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a766ff",
  "rgb": {
    "r": 167,
    "g": 102,
    "b": 255
  },
  "hsl": {
    "h": 265.49,
    "s": 100,
    "l": 70
  },
  "oklch": {
    "l": 0.65342,
    "c": 0.21882,
    "h": 299.9
  },
  "luminance": 0.24938
}

Semantic roles & 50–950 ramp

primary
#A766FF
secondary
#E4F6CB
accent
#E60084
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#130D18
muted
#827E86

Preview Lab

Preview with #A766FF

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

Preview Lab → · Contrast checker → · Palette generator →

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