#A15FDF#A15FDF

#A15FDF is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.7% C 0.191 H 305.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#A15FDF
RGBrgb(161, 95, 223)
HSLhsl(271, 67%, 62%)
HSVhsv(271, 57%, 87%)
CMYKcmyk(27.8%, 57.4%, 0%, 12.5%)
CIE-LABlab(53.05, 50.60, -55.34)
CIE-LCHlch(53.05, 74.99, 312.44°)
OKLaboklab(61.67% 0.1104 -0.1562)
OKLCHoklch(61.67% 0.191 305.3)
XYZxyz(32.1066, 21.0894, 72.1770)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A15FDF #9DDF5F
analogous
#615FDF #A15FDF #DF5FDD
triadic
#A15FDF #DFA15F #5FDFA1
tetradic
#A15FDF #DF615F #9DDF5F #5FDDDF
square
#A15FDF #DF615F #9DDF5F #5FDDDF
split-complementary
#A15FDF #DDDF5F #5FDF61
monochromatic
#6421A3 #832CD5 #A15FDF #BF92E9 #DDC5F3

Accessibility & contrast

On white

4.02
#A15FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#A15FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A15FDF
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A15FDF#FFFFFF#000000##000000
##A15FDF1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7DE3
Deuteranopia (green-blind)
#467FDC
Tritanopia (blue-blind)
#967896
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a15fdf;
/* rgb */ color: rgb(161, 95, 223);
/* oklch */ color: oklch(61.7% 0.191 305.3);
Tailwind
colors: {
  custom: {
    50: '#c08fea',
    500: '#a15fdf',
    950: '#000000',
  },
}
SCSS
$custom: #a15fdf;
$custom-light: #c08fea;
$custom-dark: #000000;
JSON
{
  "hex": "#a15fdf",
  "rgb": {
    "r": 161,
    "g": 95,
    "b": 223
  },
  "hsl": {
    "h": 270.938,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61674,
    "c": 0.19126,
    "h": 305.3
  },
  "luminance": 0.21089
}

Semantic roles & 50–950 ramp

primary
#A15FDF
secondary
#CCE4B6
accent
#CF1770
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #A15FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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