#A15ECD#A15ECD

#A15ECD is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.4% C 0.172 H 310.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#A15ECD
RGBrgb(161, 94, 205)
HSLhsl(276, 53%, 59%)
HSVhsv(276, 54%, 80%)
CMYKcmyk(21.5%, 54.1%, 0%, 19.6%)
CIE-LABlab(51.83, 47.01, -47.06)
CIE-LCHlch(51.83, 66.52, 314.97°)
OKLaboklab(60.45% 0.1111 -0.1319)
OKLCHoklch(60.45% 0.172 310.1)
XYZxyz(29.7180, 19.9908, 60.0388)
Luminance0.1999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A15ECD #8ACD5E
analogous
#695ECD #A15ECD #CD5EC2
triadic
#A15ECD #CDA15E #5ECDA1
tetradic
#A15ECD #CD695E #8ACD5E #5EC2CD
square
#A15ECD #CD695E #8ACD5E #5EC2CD
split-complementary
#A15ECD #C2CD5E #5ECD69
monochromatic
#622A87 #8438B5 #A15ECD #BC8DDC #D8BBEA

Accessibility & contrast

On white

4.20
#A15ECD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#A15ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A15ECD
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A15ECD#FFFFFF#000000##000000
##A15ECD1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D78D1
Deuteranopia (green-blind)
#547DCA
Tritanopia (blue-blind)
#9B718D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a15ecd;
/* rgb */ color: rgb(161, 94, 205);
/* oklch */ color: oklch(60.4% 0.172 310.1);
Tailwind
colors: {
  custom: {
    50: '#bf8edd',
    500: '#a15ecd',
    950: '#000000',
  },
}
SCSS
$custom: #a15ecd;
$custom-light: #bf8edd;
$custom-dark: #000000;
JSON
{
  "hex": "#a15ecd",
  "rgb": {
    "r": 161,
    "g": 94,
    "b": 205
  },
  "hsl": {
    "h": 276.216,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60448,
    "c": 0.17246,
    "h": 310.1
  },
  "luminance": 0.1999
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A15ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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