#A68BEA#A68BEA

#A68BEA is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.0% C 0.138 H 295.7°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#A68BEA
RGBrgb(166, 139, 234)
HSLhsl(257, 69%, 73%)
HSVhsv(257, 41%, 92%)
CMYKcmyk(29.1%, 40.6%, 0%, 8.2%)
CIE-LABlab(63.76, 30.28, -44.44)
CIE-LCHlch(63.76, 53.78, 304.27°)
OKLaboklab(69.97% 0.0599 -0.1243)
OKLCHoklch(69.97% 0.138 295.7)
XYZxyz(39.8062, 32.5122, 82.0043)
Luminance0.3251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A68BEA #CFEA8B
analogous
#8B9FEA #A68BEA #D68BEA
triadic
#A68BEA #EAA68B #8BEAA6
tetradic
#A68BEA #EA8B9F #CFEA8B #8BEAD6
square
#A68BEA #EA8B9F #CFEA8B #8BEAD6
split-complementary
#A68BEA #EAD68B #9FEA8B
monochromatic
#5826D4 #7E57E1 #A68BEA #CEBFF3 #EBE5FA

Accessibility & contrast

On white

2.80
#A68BEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#A68BEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A68BEA
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A68BEA#FFFFFF#000000##000000
##A68BEA1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#709BEE
Deuteranopia (green-blind)
#7499E8
Tritanopia (blue-blind)
#989CAF
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #a68bea;
/* rgb */ color: rgb(166, 139, 234);
/* oklch */ color: oklch(70.0% 0.138 295.7);
Tailwind
colors: {
  custom: {
    50: '#c2adf1',
    500: '#a68bea',
    950: '#000000',
  },
}
SCSS
$custom: #a68bea;
$custom-light: #c2adf1;
$custom-dark: #000000;
JSON
{
  "hex": "#a68bea",
  "rgb": {
    "r": 166,
    "g": 139,
    "b": 234
  },
  "hsl": {
    "h": 257.053,
    "s": 69.343,
    "l": 73.137
  },
  "oklch": {
    "l": 0.69968,
    "c": 0.13797,
    "h": 295.7
  },
  "luminance": 0.32513
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A68BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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