#A68EFE#A68EFE

#A68EFE is a light, vivid violet. Relative luminance 0.346; OKLCH L 71.6% C 0.160 H 291.7°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#A68EFE
RGBrgb(166, 142, 254)
HSLhsl(253, 98%, 78%)
HSVhsv(253, 44%, 100%)
CMYKcmyk(34.6%, 44.1%, 0%, 0.4%)
CIE-LABlab(65.44, 33.63, -52.78)
CIE-LCHlch(65.44, 62.59, 302.51°)
OKLaboklab(71.55% 0.0591 -0.1486)
OKLCHoklch(71.55% 0.16 291.7)
XYZxyz(43.2836, 34.6078, 98.1462)
Luminance0.3461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A68EFE #E6FE8E
analogous
#8EAEFE #A68EFE #DE8EFE
triadic
#A68EFE #FEA68E #8EFEA6
tetradic
#A68EFE #FE8EAE #E6FE8E #8EFEDE
square
#A68EFE #FE8EAE #E6FE8E #8EFEDE
split-complementary
#A68EFE #FEDE8E #AEFE8E
monochromatic
#4615FD #7651FD #A68EFE #D6CBFF #E7E1FF

Accessibility & contrast

On white

2.65
#A68EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#A68EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A68EFE
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A68EFE#FFFFFF#000000##000000
##A68EFE1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#68A1FF
Deuteranopia (green-blind)
#6B9DFB
Tritanopia (blue-blind)
#90A3BA
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a68efe;
/* rgb */ color: rgb(166, 142, 254);
/* oklch */ color: oklch(71.6% 0.160 291.7);
Tailwind
colors: {
  custom: {
    50: '#c4afff',
    500: '#a68efe',
    950: '#000000',
  },
}
SCSS
$custom: #a68efe;
$custom-light: #c4afff;
$custom-dark: #000000;
JSON
{
  "hex": "#a68efe",
  "rgb": {
    "r": 166,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 252.857,
    "s": 98.246,
    "l": 77.647
  },
  "oklch": {
    "l": 0.71554,
    "c": 0.15992,
    "h": 291.7
  },
  "luminance": 0.34609
}

Semantic roles & 50–950 ramp

primary
#A68EFE
secondary
#F0F7D4
accent
#E600B4
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A68EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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