#A768DF#A768DF

#A768DF is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.6% C 0.179 H 306.4°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#A768DF
RGBrgb(167, 104, 223)
HSLhsl(272, 65%, 64%)
HSVhsv(272, 53%, 87%)
CMYKcmyk(25.1%, 53.4%, 0%, 12.5%)
CIE-LABlab(55.53, 47.34, -51.34)
CIE-LCHlch(55.53, 69.83, 312.68°)
OKLaboklab(63.65% 0.1065 -0.1443)
OKLCHoklch(63.65% 0.179 306.4)
XYZxyz(34.2032, 23.4441, 72.5210)
Luminance0.2344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A768DF #A0DF68
analogous
#6C68DF #A768DF #DF68DB
triadic
#A768DF #DFA768 #68DFA7
tetradic
#A768DF #DF6C68 #A0DF68 #68DBDF
square
#A768DF #DF6C68 #A0DF68 #68DBDF
split-complementary
#A768DF #DBDF68 #68DF6C
monochromatic
#6A24A9 #8A36D4 #A768DF #C49BEA #E2CDF4

Accessibility & contrast

On white

3.69
#A768DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#A768DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A768DF
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A768DF#FFFFFF#000000##000000
##A768DF1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4183E3
Deuteranopia (green-blind)
#5685DC
Tritanopia (blue-blind)
#9E7E9A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a768df;
/* rgb */ color: rgb(167, 104, 223);
/* oklch */ color: oklch(63.6% 0.179 306.4);
Tailwind
colors: {
  custom: {
    50: '#c495e9',
    500: '#a768df',
    950: '#000000',
  },
}
SCSS
$custom: #a768df;
$custom-light: #c495e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a768df",
  "rgb": {
    "r": 167,
    "g": 104,
    "b": 223
  },
  "hsl": {
    "h": 271.765,
    "s": 65.027,
    "l": 64.118
  },
  "oklch": {
    "l": 0.63646,
    "c": 0.17936,
    "h": 306.4
  },
  "luminance": 0.23444
}

Semantic roles & 50–950 ramp

primary
#A768DF
secondary
#D0E6BD
accent
#CD196D
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A768DF

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

Preview Lab → · Contrast checker → · Palette generator →

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