#A768EC#A768EC

#A768EC is a light, vivid violet. Relative luminance 0.242; OKLCH L 64.4% C 0.194 H 303.4°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#A768EC
RGBrgb(167, 104, 236)
HSLhsl(269, 78%, 67%)
HSVhsv(269, 56%, 93%)
CMYKcmyk(29.2%, 55.9%, 0%, 7.5%)
CIE-LABlab(56.26, 50.38, -57.46)
CIE-LCHlch(56.26, 76.41, 311.24°)
OKLaboklab(64.42% 0.107 -0.1622)
OKLCHoklch(64.42% 0.194 303.4)
XYZxyz(36.0236, 24.1723, 82.1085)
Luminance0.2417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A768EC #ADEC68
analogous
#686BEC #A768EC #E968EC
triadic
#A768EC #ECA768 #68ECA7
tetradic
#A768EC #EC686B #ADEC68 #68ECE9
square
#A768EC #EC686B #ADEC68 #68ECE9
split-complementary
#A768EC #ECE968 #6BEC68
monochromatic
#6918C1 #8732E5 #A768EC #C79EF3 #E6D5FA

Accessibility & contrast

On white

3.60
#A768EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#A768EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A768EC
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A768EC#FFFFFF#000000##000000
##A768EC1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3385F0
Deuteranopia (green-blind)
#4B87E9
Tritanopia (blue-blind)
#9A82A0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a768ec;
/* rgb */ color: rgb(167, 104, 236);
/* oklch */ color: oklch(64.4% 0.194 303.4);
Tailwind
colors: {
  custom: {
    50: '#c595f3',
    500: '#a768ec',
    950: '#000000',
  },
}
SCSS
$custom: #a768ec;
$custom-light: #c595f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a768ec",
  "rgb": {
    "r": 167,
    "g": 104,
    "b": 236
  },
  "hsl": {
    "h": 268.636,
    "s": 77.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.64422,
    "c": 0.19434,
    "h": 303.4
  },
  "luminance": 0.24172
}

Semantic roles & 50–950 ramp

primary
#A768EC
secondary
#D9EDC3
accent
#DA0C77
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A768EC

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

Preview Lab → · Contrast checker → · Palette generator →

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