#A68DEC#A68DEC

#A68DEC is a light, vivid violet. Relative luminance 0.332; OKLCH L 70.4% C 0.138 H 294.7°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#A68DEC
RGBrgb(166, 141, 236)
HSLhsl(256, 71%, 74%)
HSVhsv(256, 40%, 93%)
CMYKcmyk(29.7%, 40.3%, 0%, 7.5%)
CIE-LABlab(64.33, 29.64, -44.65)
CIE-LCHlch(64.33, 53.59, 303.58°)
OKLaboklab(70.43% 0.0575 -0.1249)
OKLCHoklch(70.43% 0.138 294.7)
XYZxyz(40.3874, 33.2123, 83.6234)
Luminance0.3321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A68DEC #D3EC8D
analogous
#8DA4EC #A68DEC #D68DEC
triadic
#A68DEC #ECA68D #8DECA6
tetradic
#A68DEC #EC8DA4 #D3EC8D #8DECD6
square
#A68DEC #EC8DA4 #D3EC8D #8DECD6
split-complementary
#A68DEC #ECD68D #A4EC8D
monochromatic
#5424DA #7D59E3 #A68DEC #CFC1F5 #EBE5FB

Accessibility & contrast

On white

2.75
#A68DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#A68DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A68DEC
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A68DEC#FFFFFF#000000##000000
##A68DEC1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#719DF0
Deuteranopia (green-blind)
#759BEA
Tritanopia (blue-blind)
#979EB1
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a68dec;
/* rgb */ color: rgb(166, 141, 236);
/* oklch */ color: oklch(70.4% 0.138 294.7);
Tailwind
colors: {
  custom: {
    50: '#c2aef2',
    500: '#a68dec',
    950: '#000000',
  },
}
SCSS
$custom: #a68dec;
$custom-light: #c2aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#a68dec",
  "rgb": {
    "r": 166,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 255.789,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.7043,
    "c": 0.13753,
    "h": 294.7
  },
  "luminance": 0.33213
}

Semantic roles & 50–950 ramp

primary
#A68DEC
secondary
#ECF2D9
accent
#D312A1
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #A68DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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