#A768D2#A768D2

#A768D2 is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.9% C 0.164 H 309.9°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#A768D2
RGBrgb(167, 104, 210)
HSLhsl(276, 54%, 62%)
HSVhsv(276, 50%, 82%)
CMYKcmyk(20.5%, 50.5%, 0%, 17.6%)
CIE-LABlab(54.83, 44.38, -45.09)
CIE-LCHlch(54.83, 63.27, 314.54°)
OKLaboklab(62.91% 0.1055 -0.1261)
OKLCHoklch(62.91% 0.164 309.9)
XYZxyz(32.5173, 22.7698, 63.6423)
Luminance0.2277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A768D2 #93D268
analogous
#7268D2 #A768D2 #D268C8
triadic
#A768D2 #D2A768 #68D2A7
tetradic
#A768D2 #D27268 #93D268 #68C8D2
square
#A768D2 #D27268 #93D268 #68C8D2
split-complementary
#A768D2 #C8D268 #68D272
monochromatic
#6A2C94 #8B3AC3 #A768D2 #C297E0 #DEC6EE

Accessibility & contrast

On white

3.78
#A768D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#A768D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A768D2
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A768D2#FFFFFF#000000##000000
##A768D21.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C80D6
Deuteranopia (green-blind)
#5F84CF
Tritanopia (blue-blind)
#A27A93
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a768d2;
/* rgb */ color: rgb(167, 104, 210);
/* oklch */ color: oklch(62.9% 0.164 309.9);
Tailwind
colors: {
  custom: {
    50: '#c395e0',
    500: '#a768d2',
    950: '#000000',
  },
}
SCSS
$custom: #a768d2;
$custom-light: #c395e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a768d2",
  "rgb": {
    "r": 167,
    "g": 104,
    "b": 210
  },
  "hsl": {
    "h": 275.66,
    "s": 54.082,
    "l": 61.569
  },
  "oklch": {
    "l": 0.6291,
    "c": 0.16438,
    "h": 309.9
  },
  "luminance": 0.22769
}

Semantic roles & 50–950 ramp

primary
#A768D2
secondary
#C7DFB7
accent
#C22464
background
#FCF9FD
surface
#F8F2FB
border
#D1CCD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #A768D2

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

Preview Lab → · Contrast checker → · Palette generator →

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