#A668F5#A668F5

#A668F5 is a light, highly saturated violet. Relative luminance 0.246; OKLCH L 64.9% C 0.204 H 301.2°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#A668F5
RGBrgb(166, 104, 245)
HSLhsl(266, 88%, 68%)
HSVhsv(266, 58%, 96%)
CMYKcmyk(32.2%, 57.6%, 0%, 3.9%)
CIE-LABlab(56.68, 52.30, -61.79)
CIE-LCHlch(56.68, 80.95, 310.24°)
OKLaboklab(64.88% 0.1058 -0.175)
OKLCHoklch(64.88% 0.204 301.2)
XYZxyz(37.1537, 24.6000, 89.1594)
Luminance0.2460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A668F5 #B7F568
analogous
#6870F5 #A668F5 #ED68F5
triadic
#A668F5 #F5A668 #68F5A6
tetradic
#A668F5 #F56870 #B7F568 #68F5ED
square
#A668F5 #F56870 #B7F568 #68F5ED
split-complementary
#A668F5 #F5ED68 #70F568
monochromatic
#650ED5 #842FF1 #A668F5 #C8A1F9 #EADBFD

Accessibility & contrast

On white

3.55
#A668F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#A668F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A668F5
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A668F5#FFFFFF#000000##000000
##A668F51.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2387FA
Deuteranopia (green-blind)
#4087F2
Tritanopia (blue-blind)
#9685A5
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #a668f5;
/* rgb */ color: rgb(166, 104, 245);
/* oklch */ color: oklch(64.9% 0.204 301.2);
Tailwind
colors: {
  custom: {
    50: '#c595f9',
    500: '#a668f5',
    950: '#000000',
  },
}
SCSS
$custom: #a668f5;
$custom-light: #c595f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a668f5",
  "rgb": {
    "r": 166,
    "g": 104,
    "b": 245
  },
  "hsl": {
    "h": 266.383,
    "s": 87.578,
    "l": 68.431
  },
  "oklch": {
    "l": 0.64879,
    "c": 0.20449,
    "h": 301.2
  },
  "luminance": 0.246
}

Semantic roles & 50–950 ramp

primary
#A668F5
secondary
#DFF2C7
accent
#E40180
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A668F5

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

Preview Lab → · Contrast checker → · Palette generator →

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