#A15CD2#A15CD2

#A15CD2 is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.5% C 0.181 H 309.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#A15CD2
RGBrgb(161, 92, 210)
HSLhsl(275, 57%, 59%)
HSVhsv(275, 56%, 82%)
CMYKcmyk(23.3%, 56.2%, 0%, 17.6%)
CIE-LABlab(51.71, 49.18, -50.11)
CIE-LCHlch(51.71, 70.21, 314.47°)
OKLaboklab(60.45% 0.1139 -0.1408)
OKLCHoklch(60.45% 0.181 309)
XYZxyz(30.1557, 19.8850, 63.2099)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A15CD2 #8DD25C
analogous
#665CD2 #A15CD2 #D25CC8
triadic
#A15CD2 #D2A15C #5CD2A1
tetradic
#A15CD2 #D2665C #8DD25C #5CC8D2
square
#A15CD2 #D2665C #8DD25C #5CC8D2
split-complementary
#A15CD2 #C8D25C #5CD266
monochromatic
#62278D #8434BD #A15CD2 #BD8CDF #D8BCEC

Accessibility & contrast

On white

4.22
#A15CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#A15CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A15CD2
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A15CD2#FFFFFF#000000##000000
##A15CD21.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3478D6
Deuteranopia (green-blind)
#4E7CCF
Tritanopia (blue-blind)
#9A728E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a15cd2;
/* rgb */ color: rgb(161, 92, 210);
/* oklch */ color: oklch(60.5% 0.181 309.0);
Tailwind
colors: {
  custom: {
    50: '#c08de0',
    500: '#a15cd2',
    950: '#000000',
  },
}
SCSS
$custom: #a15cd2;
$custom-light: #c08de0;
$custom-dark: #000000;
JSON
{
  "hex": "#a15cd2",
  "rgb": {
    "r": 161,
    "g": 92,
    "b": 210
  },
  "hsl": {
    "h": 275.085,
    "s": 56.731,
    "l": 59.216
  },
  "oklch": {
    "l": 0.6045,
    "c": 0.18114,
    "h": 309
  },
  "luminance": 0.19885
}

Semantic roles & 50–950 ramp

primary
#A15CD2
secondary
#C1DCAE
accent
#E04887
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A15CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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