#A768EF#A768EF

#A768EF is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.6% C 0.198 H 302.8°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#A768EF
RGBrgb(167, 104, 239)
HSLhsl(268, 81%, 67%)
HSVhsv(268, 56%, 94%)
CMYKcmyk(30.1%, 56.5%, 0%, 6.3%)
CIE-LABlab(56.43, 51.09, -58.85)
CIE-LCHlch(56.43, 77.93, 310.96°)
OKLaboklab(64.61% 0.1071 -0.1663)
OKLCHoklch(64.61% 0.198 302.8)
XYZxyz(36.4631, 24.3481, 84.4233)
Luminance0.2435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A768EF #B0EF68
analogous
#686DEF #A768EF #EA68EF
triadic
#A768EF #EFA768 #68EFA7
tetradic
#A768EF #EF686D #B0EF68 #68EFEA
square
#A768EF #EF686D #B0EF68 #68EFEA
split-complementary
#A768EF #EFEA68 #6DEF68
monochromatic
#6815C7 #8731E9 #A768EF #C79FF5 #E7D7FB

Accessibility & contrast

On white

3.58
#A768EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#A768EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A768EF
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A768EF#FFFFFF#000000##000000
##A768EF1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E86F3
Deuteranopia (green-blind)
#4887EC
Tritanopia (blue-blind)
#9983A2
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a768ef;
/* rgb */ color: rgb(167, 104, 239);
/* oklch */ color: oklch(64.6% 0.198 302.8);
Tailwind
colors: {
  custom: {
    50: '#c595f5',
    500: '#a768ef',
    950: '#000000',
  },
}
SCSS
$custom: #a768ef;
$custom-light: #c595f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a768ef",
  "rgb": {
    "r": 167,
    "g": 104,
    "b": 239
  },
  "hsl": {
    "h": 268,
    "s": 80.838,
    "l": 67.255
  },
  "oklch": {
    "l": 0.64607,
    "c": 0.19779,
    "h": 302.8
  },
  "luminance": 0.24348
}

Semantic roles & 50–950 ramp

primary
#A768EF
secondary
#DBEFC4
accent
#DD087A
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130D17
muted
#827E85

Preview Lab

Preview with #A768EF

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

Preview Lab → · Contrast checker → · Palette generator →

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