#A766F5#A766F5

#A766F5 is a light, highly saturated violet. Relative luminance 0.243; OKLCH L 64.7% C 0.207 H 301.8°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#A766F5
RGBrgb(167, 102, 245)
HSLhsl(267, 88%, 68%)
HSVhsv(267, 58%, 96%)
CMYKcmyk(31.8%, 58.4%, 0%, 3.9%)
CIE-LABlab(56.40, 53.57, -62.25)
CIE-LCHlch(56.40, 82.12, 310.71°)
OKLaboklab(64.69% 0.1095 -0.1763)
OKLCHoklch(64.69% 0.208 301.8)
XYZxyz(37.1653, 24.3107, 89.1029)
Luminance0.2431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A766F5 #B4F566
analogous
#666CF5 #A766F5 #EF66F5
triadic
#A766F5 #F5A766 #66F5A7
tetradic
#A766F5 #F5666C #B4F566 #66F5EF
square
#A766F5 #F5666C #B4F566 #66F5EF
split-complementary
#A766F5 #F5EF66 #6CF566
monochromatic
#670ED3 #862DF1 #A766F5 #C89FF9 #E9D9FD

Accessibility & contrast

On white

3.58
#A766F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#A766F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A766F5
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A766F5#FFFFFF#000000##000000
##A766F51.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C86FA
Deuteranopia (green-blind)
#3E87F2
Tritanopia (blue-blind)
#9883A4
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a766f5;
/* rgb */ color: rgb(167, 102, 245);
/* oklch */ color: oklch(64.7% 0.207 301.8);
Tailwind
colors: {
  custom: {
    50: '#c594f9',
    500: '#a766f5',
    950: '#000000',
  },
}
SCSS
$custom: #a766f5;
$custom-light: #c594f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a766f5",
  "rgb": {
    "r": 167,
    "g": 102,
    "b": 245
  },
  "hsl": {
    "h": 267.273,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.64694,
    "c": 0.2075,
    "h": 301.8
  },
  "luminance": 0.24311
}

Semantic roles & 50–950 ramp

primary
#A766F5
secondary
#DDF1C6
accent
#E4017D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A766F5

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

Preview Lab → · Contrast checker → · Palette generator →

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