#A662CD#A662CD

#A662CD is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.6% C 0.168 H 311.8°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#A662CD
RGBrgb(166, 98, 205)
HSLhsl(278, 52%, 59%)
HSVhsv(278, 52%, 80%)
CMYKcmyk(19%, 52.2%, 0%, 19.6%)
CIE-LABlab(53.22, 46.21, -44.81)
CIE-LCHlch(53.22, 64.37, 315.88°)
OKLaboklab(61.61% 0.1119 -0.1253)
OKLCHoklch(61.61% 0.168 311.8)
XYZxyz(31.1111, 21.2508, 60.2087)
Luminance0.2125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A662CD #89CD62
analogous
#7162CD #A662CD #CD62BF
triadic
#A662CD #CDA662 #62CDA6
tetradic
#A662CD #CD7162 #89CD62 #62BFCD
square
#A662CD #CD7162 #89CD62 #62BFCD
split-complementary
#A662CD #BFCD62 #62CD71
monochromatic
#672C89 #8A3AB7 #A662CD #C090DC #DBBFEB

Accessibility & contrast

On white

4.00
#A662CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#A662CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A662CD
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A662CD#FFFFFF#000000##000000
##A662CD1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#467CD1
Deuteranopia (green-blind)
#5C81CA
Tritanopia (blue-blind)
#A2748E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a662cd;
/* rgb */ color: rgb(166, 98, 205);
/* oklch */ color: oklch(61.6% 0.168 311.8);
Tailwind
colors: {
  custom: {
    50: '#c391dd',
    500: '#a662cd',
    950: '#000000',
  },
}
SCSS
$custom: #a662cd;
$custom-light: #c391dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a662cd",
  "rgb": {
    "r": 166,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 278.131,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61607,
    "c": 0.16796,
    "h": 311.8
  },
  "luminance": 0.2125
}

Semantic roles & 50–950 ramp

primary
#A662CD
secondary
#C0DAB1
accent
#DB4D81
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #A662CD

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

Preview Lab → · Contrast checker → · Palette generator →

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