#A15FDC#A15FDC

#A15FDC is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.5% C 0.188 H 306.0°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#A15FDC
RGBrgb(161, 95, 220)
HSLhsl(272, 64%, 62%)
HSVhsv(272, 57%, 86%)
CMYKcmyk(26.8%, 56.8%, 0%, 13.7%)
CIE-LABlab(52.87, 49.90, -53.92)
CIE-LCHlch(52.87, 73.47, 312.78°)
OKLaboklab(61.49% 0.1104 -0.152)
OKLCHoklch(61.49% 0.188 306)
XYZxyz(31.7057, 20.9291, 70.0657)
Luminance0.2093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A15FDC #9ADC5F
analogous
#635FDC #A15FDC #DC5FD9
triadic
#A15FDC #DCA15F #5FDCA1
tetradic
#A15FDC #DC635F #9ADC5F #5FD9DC
square
#A15FDC #DC635F #9ADC5F #5FD9DC
split-complementary
#A15FDC #D9DC5F #5FDC63
monochromatic
#64239E #832ED0 #A15FDC #BF91E7 #DCC3F2

Accessibility & contrast

On white

4.05
#A15FDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#A15FDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A15FDC
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A15FDC#FFFFFF#000000##000000
##A15FDC1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7CE0
Deuteranopia (green-blind)
#497FD9
Tritanopia (blue-blind)
#977794
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a15fdc;
/* rgb */ color: rgb(161, 95, 220);
/* oklch */ color: oklch(61.5% 0.188 306.0);
Tailwind
colors: {
  custom: {
    50: '#c08fe7',
    500: '#a15fdc',
    950: '#000000',
  },
}
SCSS
$custom: #a15fdc;
$custom-light: #c08fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#a15fdc",
  "rgb": {
    "r": 161,
    "g": 95,
    "b": 220
  },
  "hsl": {
    "h": 271.68,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61489,
    "c": 0.18787,
    "h": 306
  },
  "luminance": 0.20929
}

Semantic roles & 50–950 ramp

primary
#A15FDC
secondary
#CAE3B4
accent
#CC1A6E
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #A15FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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