#A766F3#A766F3

#A766F3 is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 64.6% C 0.205 H 302.2°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#A766F3
RGBrgb(167, 102, 243)
HSLhsl(268, 85%, 68%)
HSVhsv(268, 58%, 95%)
CMYKcmyk(31.3%, 58%, 0%, 4.7%)
CIE-LABlab(56.28, 53.09, -61.33)
CIE-LCHlch(56.28, 81.12, 310.88°)
OKLaboklab(64.57% 0.1095 -0.1736)
OKLCHoklch(64.57% 0.205 302.2)
XYZxyz(36.8616, 24.1892, 87.5036)
Luminance0.2419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A766F3 #B2F366
analogous
#666BF3 #A766F3 #EE66F3
triadic
#A766F3 #F3A766 #66F3A7
tetradic
#A766F3 #F3666B #B2F366 #66F3EE
square
#A766F3 #F3666B #B2F366 #66F3EE
split-complementary
#A766F3 #F3EE66 #6BF366
monochromatic
#6810CE #862DEF #A766F3 #C89FF7 #E8D7FC

Accessibility & contrast

On white

3.60
#A766F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#A766F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A766F3
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A766F3#FFFFFF#000000##000000
##A766F31.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2186F8
Deuteranopia (green-blind)
#4086F0
Tritanopia (blue-blind)
#9883A3
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a766f3;
/* rgb */ color: rgb(167, 102, 243);
/* oklch */ color: oklch(64.6% 0.205 302.2);
Tailwind
colors: {
  custom: {
    50: '#c594f8',
    500: '#a766f3',
    950: '#000000',
  },
}
SCSS
$custom: #a766f3;
$custom-light: #c594f8;
$custom-dark: #000000;
JSON
{
  "hex": "#a766f3",
  "rgb": {
    "r": 167,
    "g": 102,
    "b": 243
  },
  "hsl": {
    "h": 267.66,
    "s": 85.455,
    "l": 67.647
  },
  "oklch": {
    "l": 0.64567,
    "c": 0.20522,
    "h": 302.2
  },
  "luminance": 0.24189
}

Semantic roles & 50–950 ramp

primary
#A766F3
secondary
#DCF0C5
accent
#E2047B
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A766F3

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

Preview Lab → · Contrast checker → · Palette generator →

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