#A15ECA#A15ECA

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

Color values

HEX#A15ECA
RGBrgb(161, 94, 202)
HSLhsl(277, 50%, 58%)
HSVhsv(277, 53%, 79%)
CMYKcmyk(20.3%, 53.5%, 0%, 20.8%)
CIE-LABlab(51.66, 46.34, -45.60)
CIE-LCHlch(51.66, 65.01, 315.46°)
OKLaboklab(60.28% 0.1109 -0.1277)
OKLCHoklch(60.28% 0.169 311)
XYZxyz(29.3594, 19.8473, 58.1500)
Luminance0.1985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A15ECA #87CA5E
analogous
#6B5ECA #A15ECA #CA5EBD
triadic
#A15ECA #CAA15E #5ECAA1
tetradic
#A15ECA #CA6B5E #87CA5E #5EBDCA
square
#A15ECA #CA6B5E #87CA5E #5EBDCA
split-complementary
#A15ECA #BDCA5E #5ECA6B
monochromatic
#612B83 #843AB1 #A15ECA #BC8CD9 #D7BAE8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A15ECA#FFFFFF#000000##000000
##A15ECA1.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)
#4078CE
Deuteranopia (green-blind)
#567CC7
Tritanopia (blue-blind)
#9C708B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a15eca;
/* rgb */ color: rgb(161, 94, 202);
/* oklch */ color: oklch(60.3% 0.169 311.0);
Tailwind
colors: {
  custom: {
    50: '#bf8eda',
    500: '#a15eca',
    950: '#000000',
  },
}
SCSS
$custom: #a15eca;
$custom-light: #bf8eda;
$custom-dark: #000000;
JSON
{
  "hex": "#a15eca",
  "rgb": {
    "r": 161,
    "g": 94,
    "b": 202
  },
  "hsl": {
    "h": 277.222,
    "s": 50.467,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60276,
    "c": 0.1691,
    "h": 311
  },
  "luminance": 0.19847
}

Semantic roles & 50–950 ramp

primary
#A15ECA
secondary
#BDD7AC
accent
#DA4E83
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #A15ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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