#A668EC#A668EC

#A668EC is a light, vivid violet. Relative luminance 0.241; OKLCH L 64.3% C 0.194 H 303.0°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#A668EC
RGBrgb(166, 104, 236)
HSLhsl(268, 78%, 67%)
HSVhsv(268, 56%, 93%)
CMYKcmyk(29.7%, 55.9%, 0%, 7.5%)
CIE-LABlab(56.15, 50.14, -57.64)
CIE-LCHlch(56.15, 76.39, 311.02°)
OKLaboklab(64.32% 0.1058 -0.1628)
OKLCHoklch(64.32% 0.194 303)
XYZxyz(35.8131, 24.0638, 82.0987)
Luminance0.2406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A668EC #AEEC68
analogous
#686CEC #A668EC #E868EC
triadic
#A668EC #ECA668 #68ECA6
tetradic
#A668EC #EC686C #AEEC68 #68ECE8
square
#A668EC #EC686C #AEEC68 #68ECE8
split-complementary
#A668EC #ECE868 #6CEC68
monochromatic
#6818C1 #8632E5 #A668EC #C69EF3 #E6D5FA

Accessibility & contrast

On white

3.61
#A668EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#A668EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A668EC
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A668EC#FFFFFF#000000##000000
##A668EC1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3285F0
Deuteranopia (green-blind)
#4A86E9
Tritanopia (blue-blind)
#9982A0
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #a668ec;
/* rgb */ color: rgb(166, 104, 236);
/* oklch */ color: oklch(64.3% 0.194 303.0);
Tailwind
colors: {
  custom: {
    50: '#c495f3',
    500: '#a668ec',
    950: '#000000',
  },
}
SCSS
$custom: #a668ec;
$custom-light: #c495f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a668ec",
  "rgb": {
    "r": 166,
    "g": 104,
    "b": 236
  },
  "hsl": {
    "h": 268.182,
    "s": 77.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.64318,
    "c": 0.19412,
    "h": 303
  },
  "luminance": 0.24064
}

Semantic roles & 50–950 ramp

primary
#A668EC
secondary
#D9EDC3
accent
#DA0C79
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A668EC

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

Preview Lab → · Contrast checker → · Palette generator →

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