#A668F7#A668F7

#A668F7 is a light, highly saturated violet. Relative luminance 0.247; OKLCH L 65.0% C 0.207 H 300.8°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#A668F7
RGBrgb(166, 104, 247)
HSLhsl(266, 90%, 69%)
HSVhsv(266, 58%, 97%)
CMYKcmyk(32.8%, 57.9%, 0%, 3.1%)
CIE-LABlab(56.80, 52.78, -62.71)
CIE-LCHlch(56.80, 81.97, 310.09°)
OKLaboklab(65.01% 0.1058 -0.1777)
OKLCHoklch(65.01% 0.207 300.8)
XYZxyz(37.4607, 24.7228, 90.7761)
Luminance0.2472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A668F7 #B9F768
analogous
#6872F7 #A668F7 #EE68F7
triadic
#A668F7 #F7A668 #68F7A6
tetradic
#A668F7 #F76872 #B9F768 #68F7EE
square
#A668F7 #F76872 #B9F768 #68F7EE
split-complementary
#A668F7 #F7EE68 #72F768
monochromatic
#650CD9 #842EF4 #A668F7 #C8A2FA #EBDCFD

Accessibility & contrast

On white

3.53
#A668F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#A668F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A668F7
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A668F7#FFFFFF#000000##000000
##A668F71.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E88FC
Deuteranopia (green-blind)
#3D87F4
Tritanopia (blue-blind)
#9585A6
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a668f7;
/* rgb */ color: rgb(166, 104, 247);
/* oklch */ color: oklch(65.0% 0.207 300.8);
Tailwind
colors: {
  custom: {
    50: '#c595fb',
    500: '#a668f7',
    950: '#000000',
  },
}
SCSS
$custom: #a668f7;
$custom-light: #c595fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a668f7",
  "rgb": {
    "r": 166,
    "g": 104,
    "b": 247
  },
  "hsl": {
    "h": 266.014,
    "s": 89.937,
    "l": 68.824
  },
  "oklch": {
    "l": 0.65006,
    "c": 0.20679,
    "h": 300.8
  },
  "luminance": 0.24723
}

Semantic roles & 50–950 ramp

primary
#A668F7
secondary
#E0F3C8
accent
#E60082
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A668F7

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

Preview Lab → · Contrast checker → · Palette generator →

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