#A668DF#A668DF

#A668DF is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.5% C 0.179 H 306.0°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#A668DF
RGBrgb(166, 104, 223)
HSLhsl(271, 65%, 64%)
HSVhsv(271, 53%, 87%)
CMYKcmyk(25.6%, 53.4%, 0%, 12.5%)
CIE-LABlab(55.42, 47.08, -51.52)
CIE-LCHlch(55.42, 69.79, 312.42°)
OKLaboklab(63.54% 0.1053 -0.1449)
OKLCHoklch(63.54% 0.179 306)
XYZxyz(33.9927, 23.3356, 72.5112)
Luminance0.2334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A668DF #A1DF68
analogous
#6B68DF #A668DF #DF68DC
triadic
#A668DF #DFA668 #68DFA6
tetradic
#A668DF #DF6B68 #A1DF68 #68DCDF
square
#A668DF #DF6B68 #A1DF68 #68DCDF
split-complementary
#A668DF #DCDF68 #68DF6B
monochromatic
#6924A9 #8836D4 #A668DF #C49BEA #E2CDF4

Accessibility & contrast

On white

3.71
#A668DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#A668DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A668DF
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A668DF#FFFFFF#000000##000000
##A668DF1.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4183E3
Deuteranopia (green-blind)
#5585DC
Tritanopia (blue-blind)
#9D7E9A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #a668df;
/* rgb */ color: rgb(166, 104, 223);
/* oklch */ color: oklch(63.5% 0.179 306.0);
Tailwind
colors: {
  custom: {
    50: '#c395e9',
    500: '#a668df',
    950: '#000000',
  },
}
SCSS
$custom: #a668df;
$custom-light: #c395e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a668df",
  "rgb": {
    "r": 166,
    "g": 104,
    "b": 223
  },
  "hsl": {
    "h": 271.261,
    "s": 65.027,
    "l": 64.118
  },
  "oklch": {
    "l": 0.6354,
    "c": 0.17908,
    "h": 306
  },
  "luminance": 0.23335
}

Semantic roles & 50–950 ramp

primary
#A668DF
secondary
#D1E6BD
accent
#CD196F
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A668DF

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

Preview Lab → · Contrast checker → · Palette generator →

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