#A668D7#A668D7

#A668D7 is a light, vivid violet. Relative luminance 0.229; OKLCH L 63.1% C 0.170 H 308.1°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#A668D7
RGBrgb(166, 104, 215)
HSLhsl(274, 58%, 63%)
HSVhsv(274, 52%, 84%)
CMYKcmyk(22.8%, 51.6%, 0%, 15.7%)
CIE-LABlab(54.98, 45.24, -47.70)
CIE-LCHlch(54.98, 65.74, 313.49°)
OKLaboklab(63.08% 0.1047 -0.1337)
OKLCHoklch(63.08% 0.17 308.1)
XYZxyz(32.9395, 22.9143, 66.9644)
Luminance0.2291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A668D7 #99D768
analogous
#6F68D7 #A668D7 #D768D0
triadic
#A668D7 #D7A668 #68D7A6
tetradic
#A668D7 #D76F68 #99D768 #68D0D7
square
#A668D7 #D76F68 #99D768 #68D0D7
split-complementary
#A668D7 #D0D768 #68D76F
monochromatic
#69299B #8938CA #A668D7 #C398E4 #DFC9F1

Accessibility & contrast

On white

3.76
#A668D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#A668D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A668D7
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A668D7#FFFFFF#000000##000000
##A668D71.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4881DB
Deuteranopia (green-blind)
#5B84D4
Tritanopia (blue-blind)
#9F7B96
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a668d7;
/* rgb */ color: rgb(166, 104, 215);
/* oklch */ color: oklch(63.1% 0.170 308.1);
Tailwind
colors: {
  custom: {
    50: '#c395e4',
    500: '#a668d7',
    950: '#000000',
  },
}
SCSS
$custom: #a668d7;
$custom-light: #c395e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a668d7",
  "rgb": {
    "r": 166,
    "g": 104,
    "b": 215
  },
  "hsl": {
    "h": 273.514,
    "s": 58.115,
    "l": 62.549
  },
  "oklch": {
    "l": 0.6308,
    "c": 0.16981,
    "h": 308.1
  },
  "luminance": 0.22914
}

Semantic roles & 50–950 ramp

primary
#A668D7
secondary
#CBE2B9
accent
#C62069
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130D15
muted
#827E84

Preview Lab

Preview with #A668D7

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

Preview Lab → · Contrast checker → · Palette generator →

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