#A15FD2#A15FD2

#A15FD2 is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.9% C 0.177 H 308.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#A15FD2
RGBrgb(161, 95, 210)
HSLhsl(274, 56%, 60%)
HSVhsv(274, 55%, 82%)
CMYKcmyk(23.3%, 54.8%, 0%, 17.6%)
CIE-LABlab(52.30, 47.61, -49.16)
CIE-LCHlch(52.30, 68.43, 314.08°)
OKLaboklab(60.89% 0.11 -0.1381)
OKLCHoklch(60.89% 0.177 308.6)
XYZxyz(30.4207, 20.4151, 63.2982)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A15FD2 #90D25F
analogous
#685FD2 #A15FD2 #D25FCA
triadic
#A15FD2 #D2A15F #5FD2A1
tetradic
#A15FD2 #D2685F #90D25F #5FCAD2
square
#A15FD2 #D2685F #90D25F #5FCAD2
split-complementary
#A15FD2 #CAD25F #5FD268
monochromatic
#63288F #8436BE #A15FD2 #BD8FDF #D9BFED

Accessibility & contrast

On white

4.13
#A15FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#A15FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A15FD2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A15FD2#FFFFFF#000000##000000
##A15FD21.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7AD6
Deuteranopia (green-blind)
#517ECF
Tritanopia (blue-blind)
#9A748F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a15fd2;
/* rgb */ color: rgb(161, 95, 210);
/* oklch */ color: oklch(60.9% 0.177 308.6);
Tailwind
colors: {
  custom: {
    50: '#c08fe0',
    500: '#a15fd2',
    950: '#000000',
  },
}
SCSS
$custom: #a15fd2;
$custom-light: #c08fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#a15fd2",
  "rgb": {
    "r": 161,
    "g": 95,
    "b": 210
  },
  "hsl": {
    "h": 274.435,
    "s": 56.098,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60888,
    "c": 0.17655,
    "h": 308.6
  },
  "luminance": 0.20415
}

Semantic roles & 50–950 ramp

primary
#A15FD2
secondary
#C3DDB0
accent
#DF4889
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #A15FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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