#A768EB#A768EB

#A768EB is a light, vivid violet. Relative luminance 0.241; OKLCH L 64.4% C 0.193 H 303.6°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#A768EB
RGBrgb(167, 104, 235)
HSLhsl(269, 77%, 66%)
HSVhsv(269, 56%, 92%)
CMYKcmyk(28.9%, 55.7%, 0%, 7.8%)
CIE-LABlab(56.20, 50.14, -56.99)
CIE-LCHlch(56.20, 75.91, 311.34°)
OKLaboklab(64.36% 0.107 -0.1609)
OKLCHoklch(64.36% 0.193 303.6)
XYZxyz(35.8787, 24.1144, 81.3455)
Luminance0.2411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A768EB #ACEB68
analogous
#686BEB #A768EB #E968EB
triadic
#A768EB #EBA768 #68EBA7
tetradic
#A768EB #EB686B #ACEB68 #68EBE9
square
#A768EB #EB686B #ACEB68 #68EBE9
split-complementary
#A768EB #EBE968 #6BEB68
monochromatic
#6919BF #8832E4 #A768EB #C69EF2 #E6D4F9

Accessibility & contrast

On white

3.61
#A768EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#A768EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A768EB
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A768EB#FFFFFF#000000##000000
##A768EB1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3485EF
Deuteranopia (green-blind)
#4C87E8
Tritanopia (blue-blind)
#9B81A0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a768eb;
/* rgb */ color: rgb(167, 104, 235);
/* oklch */ color: oklch(64.4% 0.193 303.6);
Tailwind
colors: {
  custom: {
    50: '#c595f2',
    500: '#a768eb',
    950: '#000000',
  },
}
SCSS
$custom: #a768eb;
$custom-light: #c595f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a768eb",
  "rgb": {
    "r": 167,
    "g": 104,
    "b": 235
  },
  "hsl": {
    "h": 268.855,
    "s": 76.608,
    "l": 66.471
  },
  "oklch": {
    "l": 0.64361,
    "c": 0.19319,
    "h": 303.6
  },
  "luminance": 0.24114
}

Semantic roles & 50–950 ramp

primary
#A768EB
secondary
#D8EDC2
accent
#D90D77
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A768EB

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

Preview Lab → · Contrast checker → · Palette generator →

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