#A15FCD#A15FCD

#A15FCD is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.6% C 0.171 H 309.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#A15FCD
RGBrgb(161, 95, 205)
HSLhsl(276, 52%, 59%)
HSVhsv(276, 54%, 80%)
CMYKcmyk(21.5%, 53.7%, 0%, 19.6%)
CIE-LABlab(52.03, 46.48, -46.74)
CIE-LCHlch(52.03, 65.91, 314.84°)
OKLaboklab(60.6% 0.1097 -0.131)
OKLCHoklch(60.6% 0.171 309.9)
XYZxyz(29.8075, 20.1698, 60.0687)
Luminance0.2017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A15FCD #8BCD5F
analogous
#6A5FCD #A15FCD #CD5FC2
triadic
#A15FCD #CDA15F #5FCDA1
tetradic
#A15FCD #CD6A5F #8BCD5F #5FC2CD
square
#A15FCD #CD6A5F #8BCD5F #5FC2CD
split-complementary
#A15FCD #C2CD5F #5FCD6A
monochromatic
#622A87 #8439B6 #A15FCD #BC8EDC #D8BCEA

Accessibility & contrast

On white

4.17
#A15FCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#A15FCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A15FCD
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A15FCD#FFFFFF#000000##000000
##A15FCD1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F79D1
Deuteranopia (green-blind)
#557DCA
Tritanopia (blue-blind)
#9B728D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a15fcd;
/* rgb */ color: rgb(161, 95, 205);
/* oklch */ color: oklch(60.6% 0.171 309.9);
Tailwind
colors: {
  custom: {
    50: '#bf8fdd',
    500: '#a15fcd',
    950: '#000000',
  },
}
SCSS
$custom: #a15fcd;
$custom-light: #bf8fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#a15fcd",
  "rgb": {
    "r": 161,
    "g": 95,
    "b": 205
  },
  "hsl": {
    "h": 276,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60597,
    "c": 0.17089,
    "h": 309.9
  },
  "luminance": 0.20169
}

Semantic roles & 50–950 ramp

primary
#A15FCD
secondary
#C0DAAE
accent
#DC4C86
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #A15FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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