#A15EC7#A15EC7

#A15EC7 is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.1% C 0.166 H 311.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#A15EC7
RGBrgb(161, 94, 199)
HSLhsl(278, 48%, 57%)
HSVhsv(278, 53%, 78%)
CMYKcmyk(19.1%, 52.8%, 0%, 22%)
CIE-LABlab(51.50, 45.67, -44.14)
CIE-LCHlch(51.50, 63.51, 315.98°)
OKLaboklab(60.11% 0.1106 -0.1234)
OKLCHoklch(60.11% 0.166 311.9)
XYZxyz(29.0076, 19.7066, 56.2974)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A15EC7 #84C75E
analogous
#6D5EC7 #A15EC7 #C75EB8
triadic
#A15EC7 #C7A15E #5EC7A1
tetradic
#A15EC7 #C76D5E #84C75E #5EB8C7
square
#A15EC7 #C76D5E #84C75E #5EB8C7
split-complementary
#A15EC7 #B8C75E #5EC76D
monochromatic
#612C7F #833CAC #A15EC7 #BC8BD7 #D6B9E7

Accessibility & contrast

On white

4.25
#A15EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#A15EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A15EC7
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A15EC7#FFFFFF#000000##000000
##A15EC71.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4277CB
Deuteranopia (green-blind)
#587CC4
Tritanopia (blue-blind)
#9D708A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a15ec7;
/* rgb */ color: rgb(161, 94, 199);
/* oklch */ color: oklch(60.1% 0.166 311.9);
Tailwind
colors: {
  custom: {
    50: '#bf8ed8',
    500: '#a15ec7',
    950: '#000000',
  },
}
SCSS
$custom: #a15ec7;
$custom-light: #bf8ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#a15ec7",
  "rgb": {
    "r": 161,
    "g": 94,
    "b": 199
  },
  "hsl": {
    "h": 278.286,
    "s": 48.387,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60105,
    "c": 0.16574,
    "h": 311.9
  },
  "luminance": 0.19706
}

Semantic roles & 50–950 ramp

primary
#A15EC7
secondary
#BBD6AB
accent
#D85081
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #A15EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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