#A05ECC#A05ECC

#A05ECC is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.3% C 0.171 H 309.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#A05ECC
RGBrgb(160, 94, 204)
HSLhsl(276, 52%, 58%)
HSVhsv(276, 54%, 80%)
CMYKcmyk(21.6%, 53.9%, 0%, 20%)
CIE-LABlab(51.65, 46.52, -46.77)
CIE-LCHlch(51.65, 65.97, 314.85°)
OKLaboklab(60.28% 0.1098 -0.1311)
OKLCHoklch(60.28% 0.171 309.9)
XYZxyz(29.3969, 19.8391, 59.3958)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A05ECC #8ACC5E
analogous
#695ECC #A05ECC #CC5EC1
triadic
#A05ECC #CCA05E #5ECCA0
tetradic
#A05ECC #CC695E #8ACC5E #5EC1CC
square
#A05ECC #CC695E #8ACC5E #5EC1CC
split-complementary
#A05ECC #C1CC5E #5ECC69
monochromatic
#612A85 #8339B4 #A05ECC #BB8CDB #D7BBE9

Accessibility & contrast

On white

4.23
#A05ECC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#A05ECC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A05ECC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A05ECC#FFFFFF#000000##000000
##A05ECC1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E78D0
Deuteranopia (green-blind)
#547CC9
Tritanopia (blue-blind)
#9A718C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a05ecc;
/* rgb */ color: rgb(160, 94, 204);
/* oklch */ color: oklch(60.3% 0.171 309.9);
Tailwind
colors: {
  custom: {
    50: '#bf8edc',
    500: '#a05ecc',
    950: '#000000',
  },
}
SCSS
$custom: #a05ecc;
$custom-light: #bf8edc;
$custom-dark: #000000;
JSON
{
  "hex": "#a05ecc",
  "rgb": {
    "r": 160,
    "g": 94,
    "b": 204
  },
  "hsl": {
    "h": 276,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60278,
    "c": 0.17099,
    "h": 309.9
  },
  "luminance": 0.19839
}

Semantic roles & 50–950 ramp

primary
#A05ECC
secondary
#BFD9AD
accent
#DB4C86
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #A05ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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