#A768DC#A768DC

#A768DC is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.5% C 0.176 H 307.2°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#A768DC
RGBrgb(167, 104, 220)
HSLhsl(273, 62%, 64%)
HSVhsv(273, 53%, 86%)
CMYKcmyk(24.1%, 52.7%, 0%, 13.7%)
CIE-LABlab(55.36, 46.65, -49.91)
CIE-LCHlch(55.36, 68.31, 313.06°)
OKLaboklab(63.47% 0.1063 -0.1401)
OKLCHoklch(63.47% 0.176 307.2)
XYZxyz(33.8023, 23.2838, 70.4098)
Luminance0.2328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A768DC #9DDC68
analogous
#6D68DC #A768DC #DC68D7
triadic
#A768DC #DCA768 #68DCA7
tetradic
#A768DC #DC6D68 #9DDC68 #68D7DC
square
#A768DC #DC6D68 #9DDC68 #68D7DC
split-complementary
#A768DC #D7DC68 #68DC6D
monochromatic
#6A26A4 #8A36D0 #A768DC #C49AE8 #E1CBF3

Accessibility & contrast

On white

3.71
#A768DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#A768DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A768DC
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A768DC#FFFFFF#000000##000000
##A768DC1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4482E0
Deuteranopia (green-blind)
#5885D9
Tritanopia (blue-blind)
#9F7D98
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a768dc;
/* rgb */ color: rgb(167, 104, 220);
/* oklch */ color: oklch(63.5% 0.176 307.2);
Tailwind
colors: {
  custom: {
    50: '#c495e7',
    500: '#a768dc',
    950: '#000000',
  },
}
SCSS
$custom: #a768dc;
$custom-light: #c495e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a768dc",
  "rgb": {
    "r": 167,
    "g": 104,
    "b": 220
  },
  "hsl": {
    "h": 272.586,
    "s": 62.366,
    "l": 63.529
  },
  "oklch": {
    "l": 0.63473,
    "c": 0.17589,
    "h": 307.2
  },
  "luminance": 0.23283
}

Semantic roles & 50–950 ramp

primary
#A768DC
secondary
#CEE4BB
accent
#CA1B6B
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A768DC

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

Preview Lab → · Contrast checker → · Palette generator →

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