#A68BEC#A68BEC

#A68BEC is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.1% C 0.141 H 295.3°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#A68BEC
RGBrgb(166, 139, 236)
HSLhsl(257, 72%, 74%)
HSVhsv(257, 41%, 93%)
CMYKcmyk(29.7%, 41.1%, 0%, 7.5%)
CIE-LABlab(63.86, 30.77, -45.40)
CIE-LCHlch(63.86, 54.84, 304.13°)
OKLaboklab(70.07% 0.0602 -0.1271)
OKLCHoklch(70.07% 0.141 295.3)
XYZxyz(40.0951, 32.6278, 83.5260)
Luminance0.3263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A68BEC #D1EC8B
analogous
#8BA0EC #A68BEC #D68BEC
triadic
#A68BEC #ECA68B #8BECA6
tetradic
#A68BEC #EC8BA0 #D1EC8B #8BECD6
square
#A68BEC #EC8BA0 #D1EC8B #8BECD6
split-complementary
#A68BEC #ECD68B #A0EC8B
monochromatic
#5624D9 #7E56E3 #A68BEC #CEC0F5 #EBE5FB

Accessibility & contrast

On white

2.79
#A68BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#A68BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A68BEC
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A68BEC#FFFFFF#000000##000000
##A68BEC1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9BF0
Deuteranopia (green-blind)
#7399EA
Tritanopia (blue-blind)
#979CB0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a68bec;
/* rgb */ color: rgb(166, 139, 236);
/* oklch */ color: oklch(70.1% 0.141 295.3);
Tailwind
colors: {
  custom: {
    50: '#c2adf2',
    500: '#a68bec',
    950: '#000000',
  },
}
SCSS
$custom: #a68bec;
$custom-light: #c2adf2;
$custom-dark: #000000;
JSON
{
  "hex": "#a68bec",
  "rgb": {
    "r": 166,
    "g": 139,
    "b": 236
  },
  "hsl": {
    "h": 256.701,
    "s": 71.852,
    "l": 73.529
  },
  "oklch": {
    "l": 0.7007,
    "c": 0.14063,
    "h": 295.3
  },
  "luminance": 0.32628
}

Semantic roles & 50–950 ramp

primary
#A68BEC
secondary
#EBF2D9
accent
#D4129E
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #A68BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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