#A15FCC#A15FCC

#A15FCC is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.5% C 0.170 H 310.2°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#A15FCC
RGBrgb(161, 95, 204)
HSLhsl(276, 52%, 59%)
HSVhsv(276, 53%, 80%)
CMYKcmyk(21.1%, 53.4%, 0%, 20%)
CIE-LABlab(51.97, 46.25, -46.25)
CIE-LCHlch(51.97, 65.41, 315.00°)
OKLaboklab(60.54% 0.1097 -0.1296)
OKLCHoklch(60.54% 0.17 310.2)
XYZxyz(29.6872, 20.1217, 59.4350)
Luminance0.2012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A15FCC #8ACC5F
analogous
#6A5FCC #A15FCC #CC5FC1
triadic
#A15FCC #CCA15F #5FCCA1
tetradic
#A15FCC #CC6A5F #8ACC5F #5FC1CC
square
#A15FCC #CC6A5F #8ACC5F #5FC1CC
split-complementary
#A15FCC #C1CC5F #5FCC6A
monochromatic
#622B86 #8439B4 #A15FCC #BC8DDB #D8BCEA

Accessibility & contrast

On white

4.18
#A15FCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#A15FCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A15FCC
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A15FCC#FFFFFF#000000##000000
##A15FCC1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4079D0
Deuteranopia (green-blind)
#557DC9
Tritanopia (blue-blind)
#9C728D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a15fcc;
/* rgb */ color: rgb(161, 95, 204);
/* oklch */ color: oklch(60.5% 0.170 310.2);
Tailwind
colors: {
  custom: {
    50: '#bf8fdc',
    500: '#a15fcc',
    950: '#000000',
  },
}
SCSS
$custom: #a15fcc;
$custom-light: #bf8fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#a15fcc",
  "rgb": {
    "r": 161,
    "g": 95,
    "b": 204
  },
  "hsl": {
    "h": 276.33,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60539,
    "c": 0.16976,
    "h": 310.2
  },
  "luminance": 0.20121
}

Semantic roles & 50–950 ramp

primary
#A15FCC
secondary
#BFD9AE
accent
#DB4D85
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #A15FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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