#A15CEC#A15CEC

#A15CEC is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.1% C 0.210 H 302.8°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#A15CEC
RGBrgb(161, 92, 236)
HSLhsl(269, 79%, 64%)
HSVhsv(269, 61%, 93%)
CMYKcmyk(31.8%, 61%, 0%, 7.5%)
CIE-LABlab(53.26, 55.21, -62.30)
CIE-LCHlch(53.26, 83.25, 311.55°)
OKLaboklab(62.09% 0.1138 -0.1766)
OKLCHoklch(62.09% 0.21 302.8)
XYZxyz(33.6619, 21.2875, 81.6761)
Luminance0.2129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A15CEC #A7EC5C
analogous
#5C5FEC #A15CEC #E95CEC
triadic
#A15CEC #ECA15C #5CECA1
tetradic
#A15CEC #EC5C5F #A7EC5C #5CECE9
square
#A15CEC #EC5C5F #A7EC5C #5CECE9
split-complementary
#A15CEC #ECE95C #5FEC5C
monochromatic
#6315B8 #8125E6 #A15CEC #C193F2 #E0CAF9

Accessibility & contrast

On white

3.99
#A15CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#A15CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A15CEC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A15CEC#FFFFFF#000000##000000
##A15CEC1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF1
Deuteranopia (green-blind)
#327FE9
Tritanopia (blue-blind)
#927A9C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a15cec;
/* rgb */ color: rgb(161, 92, 236);
/* oklch */ color: oklch(62.1% 0.210 302.8);
Tailwind
colors: {
  custom: {
    50: '#c18df3',
    500: '#a15cec',
    950: '#000000',
  },
}
SCSS
$custom: #a15cec;
$custom-light: #c18df3;
$custom-dark: #000000;
JSON
{
  "hex": "#a15cec",
  "rgb": {
    "r": 161,
    "g": 92,
    "b": 236
  },
  "hsl": {
    "h": 268.75,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.62085,
    "c": 0.21007,
    "h": 302.8
  },
  "luminance": 0.21287
}

Semantic roles & 50–950 ramp

primary
#A15CEC
secondary
#D3EBB9
accent
#DB0A77
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A15CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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