#A15ECC#A15ECC

#A15ECC is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.4% C 0.171 H 310.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#A15ECC
RGBrgb(161, 94, 204)
HSLhsl(277, 52%, 58%)
HSVhsv(277, 54%, 80%)
CMYKcmyk(21.1%, 53.9%, 0%, 20%)
CIE-LABlab(51.77, 46.78, -46.58)
CIE-LCHlch(51.77, 66.01, 315.13°)
OKLaboklab(60.39% 0.111 -0.1305)
OKLCHoklch(60.39% 0.171 310.4)
XYZxyz(29.5977, 19.9427, 59.4052)
Luminance0.1994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A15ECC #89CC5E
analogous
#6A5ECC #A15ECC #CC5EC0
triadic
#A15ECC #CCA15E #5ECCA1
tetradic
#A15ECC #CC6A5E #89CC5E #5EC0CC
square
#A15ECC #CC6A5E #89CC5E #5EC0CC
split-complementary
#A15ECC #C0CC5E #5ECC6A
monochromatic
#622A85 #8439B4 #A15ECC #BC8CDB #D7BBE9

Accessibility & contrast

On white

4.21
#A15ECC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#A15ECC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A15ECC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A15ECC#FFFFFF#000000##000000
##A15ECC1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a15ecc;
/* rgb */ color: rgb(161, 94, 204);
/* oklch */ color: oklch(60.4% 0.171 310.4);
Tailwind
colors: {
  custom: {
    50: '#bf8edc',
    500: '#a15ecc',
    950: '#000000',
  },
}
SCSS
$custom: #a15ecc;
$custom-light: #bf8edc;
$custom-dark: #000000;
JSON
{
  "hex": "#a15ecc",
  "rgb": {
    "r": 161,
    "g": 94,
    "b": 204
  },
  "hsl": {
    "h": 276.545,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.6039,
    "c": 0.17134,
    "h": 310.4
  },
  "luminance": 0.19942
}

Semantic roles & 50–950 ramp

primary
#A15ECC
secondary
#BED9AD
accent
#DB4C84
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #A15ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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