#A68AFE#A68AFE

#A68AFE is a light, vivid violet. Relative luminance 0.334; OKLCH L 70.9% C 0.166 H 292.8°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#A68AFE
RGBrgb(166, 138, 254)
HSLhsl(254, 98%, 77%)
HSVhsv(254, 46%, 100%)
CMYKcmyk(34.6%, 45.7%, 0%, 0.4%)
CIE-LABlab(64.51, 35.89, -54.25)
CIE-LCHlch(64.51, 65.05, 303.49°)
OKLaboklab(70.86% 0.0642 -0.1529)
OKLCHoklch(70.86% 0.166 292.8)
XYZxyz(42.6991, 33.4388, 97.9514)
Luminance0.3344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A68AFE #E2FE8A
analogous
#8AA8FE #A68AFE #E08AFE
triadic
#A68AFE #FEA68A #8AFEA6
tetradic
#A68AFE #FE8AA8 #E2FE8A #8AFEE0
square
#A68AFE #FE8AA8 #E2FE8A #8AFEE0
split-complementary
#A68AFE #FEE08A #A8FE8A
monochromatic
#4A11FD #784DFD #A68AFE #D4C7FF #E8E1FF

Accessibility & contrast

On white

2.73
#A68AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#A68AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A68AFE
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A68AFE#FFFFFF#000000##000000
##A68AFE1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#629EFF
Deuteranopia (green-blind)
#669AFB
Tritanopia (blue-blind)
#91A0B8
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a68afe;
/* rgb */ color: rgb(166, 138, 254);
/* oklch */ color: oklch(70.9% 0.166 292.8);
Tailwind
colors: {
  custom: {
    50: '#c4acff',
    500: '#a68afe',
    950: '#000000',
  },
}
SCSS
$custom: #a68afe;
$custom-light: #c4acff;
$custom-dark: #000000;
JSON
{
  "hex": "#a68afe",
  "rgb": {
    "r": 166,
    "g": 138,
    "b": 254
  },
  "hsl": {
    "h": 254.483,
    "s": 98.305,
    "l": 76.863
  },
  "oklch": {
    "l": 0.70856,
    "c": 0.16583,
    "h": 292.8
  },
  "luminance": 0.3344
}

Semantic roles & 50–950 ramp

primary
#A68AFE
secondary
#EFF7D4
accent
#E600AE
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A68AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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