#A68DFD#A68DFD

#A68DFD is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.3% C 0.160 H 292.1°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#A68DFD
RGBrgb(166, 141, 253)
HSLhsl(253, 97%, 77%)
HSVhsv(253, 44%, 99%)
CMYKcmyk(34.4%, 44.3%, 0%, 0.8%)
CIE-LABlab(65.16, 33.94, -52.68)
CIE-LCHlch(65.16, 62.67, 302.79°)
OKLaboklab(71.32% 0.0603 -0.1483)
OKLCHoklch(71.32% 0.16 292.1)
XYZxyz(42.9758, 34.2476, 97.2557)
Luminance0.3425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A68DFD #E4FD8D
analogous
#8DACFD #A68DFD #DE8DFD
triadic
#A68DFD #FDA68D #8DFDA6
tetradic
#A68DFD #FD8DAC #E4FD8D #8DFDDE
square
#A68DFD #FD8DAC #E4FD8D #8DFDDE
split-complementary
#A68DFD #FDDE8D #ACFD8D
monochromatic
#4815FB #7751FC #A68DFD #D5C9FE #E8E1FE

Accessibility & contrast

On white

2.68
#A68DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#A68DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A68DFD
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A68DFD#FFFFFF#000000##000000
##A68DFD1.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#68A0FF
Deuteranopia (green-blind)
#6A9CFA
Tritanopia (blue-blind)
#91A2B9
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a68dfd;
/* rgb */ color: rgb(166, 141, 253);
/* oklch */ color: oklch(71.3% 0.160 292.1);
Tailwind
colors: {
  custom: {
    50: '#c3aefe',
    500: '#a68dfd',
    950: '#000000',
  },
}
SCSS
$custom: #a68dfd;
$custom-light: #c3aefe;
$custom-dark: #000000;
JSON
{
  "hex": "#a68dfd",
  "rgb": {
    "r": 166,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 253.393,
    "s": 96.552,
    "l": 77.255
  },
  "oklch": {
    "l": 0.71324,
    "c": 0.16008,
    "h": 292.1
  },
  "luminance": 0.34249
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A68DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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