#A668EF#A668EF

#A668EF is a light, vivid violet. Relative luminance 0.242; OKLCH L 64.5% C 0.198 H 302.4°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#A668EF
RGBrgb(166, 104, 239)
HSLhsl(268, 81%, 67%)
HSVhsv(268, 56%, 94%)
CMYKcmyk(30.5%, 56.5%, 0%, 6.3%)
CIE-LABlab(56.33, 50.85, -59.03)
CIE-LCHlch(56.33, 77.91, 310.75°)
OKLaboklab(64.5% 0.1058 -0.1669)
OKLCHoklch(64.5% 0.198 302.4)
XYZxyz(36.2526, 24.2396, 84.4134)
Luminance0.2424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A668EF #B1EF68
analogous
#686DEF #A668EF #EA68EF
triadic
#A668EF #EFA668 #68EFA6
tetradic
#A668EF #EF686D #B1EF68 #68EFEA
square
#A668EF #EF686D #B1EF68 #68EFEA
split-complementary
#A668EF #EFEA68 #6DEF68
monochromatic
#6715C7 #8531E9 #A668EF #C79FF5 #E7D7FB

Accessibility & contrast

On white

3.59
#A668EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#A668EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A668EF
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A668EF#FFFFFF#000000##000000
##A668EF1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E86F3
Deuteranopia (green-blind)
#4787EC
Tritanopia (blue-blind)
#9883A2
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a668ef;
/* rgb */ color: rgb(166, 104, 239);
/* oklch */ color: oklch(64.5% 0.198 302.4);
Tailwind
colors: {
  custom: {
    50: '#c495f5',
    500: '#a668ef',
    950: '#000000',
  },
}
SCSS
$custom: #a668ef;
$custom-light: #c495f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a668ef",
  "rgb": {
    "r": 166,
    "g": 104,
    "b": 239
  },
  "hsl": {
    "h": 267.556,
    "s": 80.838,
    "l": 67.255
  },
  "oklch": {
    "l": 0.64503,
    "c": 0.19758,
    "h": 302.4
  },
  "luminance": 0.2424
}

Semantic roles & 50–950 ramp

primary
#A668EF
secondary
#DBEFC4
accent
#DD087B
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130D17
muted
#827E85

Preview Lab

Preview with #A668EF

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

Preview Lab → · Contrast checker → · Palette generator →

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