#A15FCF#A15FCF

#A15FCF is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.7% C 0.173 H 309.4°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#A15FCF
RGBrgb(161, 95, 207)
HSLhsl(275, 54%, 59%)
HSVhsv(275, 54%, 81%)
CMYKcmyk(22.2%, 54.1%, 0%, 18.8%)
CIE-LABlab(52.14, 46.93, -47.71)
CIE-LCHlch(52.14, 66.92, 314.53°)
OKLaboklab(60.71% 0.1099 -0.1338)
OKLCHoklch(60.71% 0.173 309.4)
XYZxyz(30.0505, 20.2670, 61.3483)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A15FCF #8DCF5F
analogous
#695FCF #A15FCF #CF5FC5
triadic
#A15FCF #CFA15F #5FCFA1
tetradic
#A15FCF #CF695F #8DCF5F #5FC5CF
square
#A15FCF #CF695F #8DCF5F #5FC5CF
split-complementary
#A15FCF #C5CF5F #5FCF69
monochromatic
#62298A #8438B9 #A15FCF #BD8EDD #D8BDEB

Accessibility & contrast

On white

4.16
#A15FCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#A15FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A15FCF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A15FCF#FFFFFF#000000##000000
##A15FCF1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D79D3
Deuteranopia (green-blind)
#537DCC
Tritanopia (blue-blind)
#9B738E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a15fcf;
/* rgb */ color: rgb(161, 95, 207);
/* oklch */ color: oklch(60.7% 0.173 309.4);
Tailwind
colors: {
  custom: {
    50: '#bf8fde',
    500: '#a15fcf',
    950: '#000000',
  },
}
SCSS
$custom: #a15fcf;
$custom-light: #bf8fde;
$custom-dark: #000000;
JSON
{
  "hex": "#a15fcf",
  "rgb": {
    "r": 161,
    "g": 95,
    "b": 207
  },
  "hsl": {
    "h": 275.357,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60713,
    "c": 0.17315,
    "h": 309.4
  },
  "luminance": 0.20266
}

Semantic roles & 50–950 ramp

primary
#A15FCF
secondary
#C1DBAF
accent
#DD4B87
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #A15FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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