#A15FCE#A15FCE

#A15FCE is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.7% C 0.172 H 309.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#A15FCE
RGBrgb(161, 95, 206)
HSLhsl(276, 53%, 59%)
HSVhsv(276, 54%, 81%)
CMYKcmyk(21.8%, 53.9%, 0%, 19.2%)
CIE-LABlab(52.08, 46.70, -47.22)
CIE-LCHlch(52.08, 66.42, 314.68°)
OKLaboklab(60.66% 0.1098 -0.1324)
OKLCHoklch(60.66% 0.172 309.7)
XYZxyz(29.9286, 20.2182, 60.7064)
Luminance0.2022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A15FCE #8CCE5F
analogous
#6A5FCE #A15FCE #CE5FC3
triadic
#A15FCE #CEA15F #5FCEA1
tetradic
#A15FCE #CE6A5F #8CCE5F #5FC3CE
square
#A15FCE #CE6A5F #8CCE5F #5FC3CE
split-complementary
#A15FCE #C3CE5F #5FCE6A
monochromatic
#622A89 #8438B8 #A15FCE #BD8EDC #D8BDEB

Accessibility & contrast

On white

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

On black

5.04
#A15FCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A15FCE
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A15FCE#FFFFFF#000000##000000
##A15FCE1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E79D2
Deuteranopia (green-blind)
#547DCB
Tritanopia (blue-blind)
#9B728D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a15fce;
/* rgb */ color: rgb(161, 95, 206);
/* oklch */ color: oklch(60.7% 0.172 309.7);
Tailwind
colors: {
  custom: {
    50: '#bf8fdd',
    500: '#a15fce',
    950: '#000000',
  },
}
SCSS
$custom: #a15fce;
$custom-light: #bf8fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#a15fce",
  "rgb": {
    "r": 161,
    "g": 95,
    "b": 206
  },
  "hsl": {
    "h": 275.676,
    "s": 53.11,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60655,
    "c": 0.17203,
    "h": 309.7
  },
  "luminance": 0.20218
}

Semantic roles & 50–950 ramp

primary
#A15FCE
secondary
#C0DAAF
accent
#DD4B86
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #A15FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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