#A768E4#A768E4

#A768E4 is a light, vivid violet. Relative luminance 0.237; OKLCH L 63.9% C 0.185 H 305.2°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#A768E4
RGBrgb(167, 104, 228)
HSLhsl(270, 70%, 65%)
HSVhsv(270, 54%, 89%)
CMYKcmyk(26.8%, 54.4%, 0%, 10.6%)
CIE-LABlab(55.80, 48.50, -53.71)
CIE-LCHlch(55.80, 72.36, 312.08°)
OKLaboklab(63.94% 0.1068 -0.1512)
OKLCHoklch(63.94% 0.185 305.2)
XYZxyz(34.8873, 23.7178, 76.1238)
Luminance0.2372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A768E4 #A5E468
analogous
#6968E4 #A768E4 #E468E3
triadic
#A768E4 #E4A768 #68E4A7
tetradic
#A768E4 #E46968 #A5E468 #68E3E4
square
#A768E4 #E46968 #A5E468 #68E3E4
split-complementary
#A768E4 #E3E468 #68E469
monochromatic
#6A20B2 #8934DB #A768E4 #C59CED #E4D0F7

Accessibility & contrast

On white

3.66
#A768E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#A768E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A768E4
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A768E4#FFFFFF#000000##000000
##A768E41.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C84E8
Deuteranopia (green-blind)
#5286E1
Tritanopia (blue-blind)
#9D7F9C
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a768e4;
/* rgb */ color: rgb(167, 104, 228);
/* oklch */ color: oklch(63.9% 0.185 305.2);
Tailwind
colors: {
  custom: {
    50: '#c495ed',
    500: '#a768e4',
    950: '#000000',
  },
}
SCSS
$custom: #a768e4;
$custom-light: #c495ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a768e4",
  "rgb": {
    "r": 167,
    "g": 104,
    "b": 228
  },
  "hsl": {
    "h": 270.484,
    "s": 69.663,
    "l": 65.098
  },
  "oklch": {
    "l": 0.6394,
    "c": 0.18512,
    "h": 305.2
  },
  "luminance": 0.23718
}

Semantic roles & 50–950 ramp

primary
#A768E4
secondary
#D4E9BF
accent
#D21471
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A768E4

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

Preview Lab → · Contrast checker → · Palette generator →

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