#A68BEB#A68BEB

#A68BEB is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.0% C 0.139 H 295.5°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#A68BEB
RGBrgb(166, 139, 235)
HSLhsl(257, 71%, 73%)
HSVhsv(257, 41%, 92%)
CMYKcmyk(29.4%, 40.9%, 0%, 7.8%)
CIE-LABlab(63.81, 30.53, -44.92)
CIE-LCHlch(63.81, 54.31, 304.20°)
OKLaboklab(70.02% 0.06 -0.1257)
OKLCHoklch(70.02% 0.139 295.5)
XYZxyz(39.9502, 32.5699, 82.7630)
Luminance0.3257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A68BEB #D0EB8B
analogous
#8BA0EB #A68BEB #D68BEB
triadic
#A68BEB #EBA68B #8BEBA6
tetradic
#A68BEB #EB8BA0 #D0EB8B #8BEBD6
square
#A68BEB #EB8BA0 #D0EB8B #8BEBD6
split-complementary
#A68BEB #EBD68B #A0EB8B
monochromatic
#5725D7 #7E57E2 #A68BEB #CEBFF4 #EBE5FA

Accessibility & contrast

On white

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

On black

7.51
#A68BEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A68BEB
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A68BEB#FFFFFF#000000##000000
##A68BEB1.002.797.517.51
#FFFFFF2.791.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a68beb;
/* rgb */ color: rgb(166, 139, 235);
/* oklch */ color: oklch(70.0% 0.139 295.5);
Tailwind
colors: {
  custom: {
    50: '#c2adf2',
    500: '#a68beb',
    950: '#000000',
  },
}
SCSS
$custom: #a68beb;
$custom-light: #c2adf2;
$custom-dark: #000000;
JSON
{
  "hex": "#a68beb",
  "rgb": {
    "r": 166,
    "g": 139,
    "b": 235
  },
  "hsl": {
    "h": 256.875,
    "s": 70.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.70019,
    "c": 0.1393,
    "h": 295.5
  },
  "luminance": 0.3257
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A68BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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