#A768E7#A768E7

#A768E7 is a light, vivid violet. Relative luminance 0.239; OKLCH L 64.1% C 0.189 H 304.5°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#A768E7
RGBrgb(167, 104, 231)
HSLhsl(270, 73%, 66%)
HSVhsv(270, 55%, 91%)
CMYKcmyk(27.7%, 55%, 0%, 9.4%)
CIE-LABlab(55.97, 49.20, -55.12)
CIE-LCHlch(55.97, 73.88, 311.75°)
OKLaboklab(64.12% 0.1069 -0.1554)
OKLCHoklch(64.12% 0.189 304.5)
XYZxyz(35.3073, 23.8858, 78.3362)
Luminance0.2389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A768E7 #A8E768
analogous
#6868E7 #A768E7 #E668E7
triadic
#A768E7 #E7A768 #68E7A7
tetradic
#A768E7 #E76868 #A8E768 #68E7E6
square
#A768E7 #E76868 #A8E768 #68E7E6
split-complementary
#A768E7 #E7E668 #68E768
monochromatic
#6A1DB7 #8833DF #A768E7 #C69DEF #E5D2F8

Accessibility & contrast

On white

3.63
#A768E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#A768E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A768E7
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A768E7#FFFFFF#000000##000000
##A768E71.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3984EB
Deuteranopia (green-blind)
#4F86E4
Tritanopia (blue-blind)
#9C809E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #a768e7;
/* rgb */ color: rgb(167, 104, 231);
/* oklch */ color: oklch(64.1% 0.189 304.5);
Tailwind
colors: {
  custom: {
    50: '#c495ef',
    500: '#a768e7',
    950: '#000000',
  },
}
SCSS
$custom: #a768e7;
$custom-light: #c495ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a768e7",
  "rgb": {
    "r": 167,
    "g": 104,
    "b": 231
  },
  "hsl": {
    "h": 269.764,
    "s": 72.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.64119,
    "c": 0.18858,
    "h": 304.5
  },
  "luminance": 0.23886
}

Semantic roles & 50–950 ramp

primary
#A768E7
secondary
#D6EBC0
accent
#D51174
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A768E7

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

Preview Lab → · Contrast checker → · Palette generator →

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