#A15FC7#A15FC7

#A15FC7 is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.3% C 0.164 H 311.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#A15FC7
RGBrgb(161, 95, 199)
HSLhsl(278, 48%, 58%)
HSVhsv(278, 52%, 78%)
CMYKcmyk(19.1%, 52.3%, 0%, 22%)
CIE-LABlab(51.71, 45.14, -43.81)
CIE-LCHlch(51.71, 62.91, 315.85°)
OKLaboklab(60.26% 0.1093 -0.1225)
OKLCHoklch(60.26% 0.164 311.7)
XYZxyz(29.0971, 19.8856, 56.3273)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A15FC7 #85C75F
analogous
#6D5FC7 #A15FC7 #C75FB9
triadic
#A15FC7 #C7A15F #5FC7A1
tetradic
#A15FC7 #C76D5F #85C75F #5FB9C7
square
#A15FC7 #C76D5F #85C75F #5FB9C7
split-complementary
#A15FC7 #B9C75F #5FC76D
monochromatic
#612C7F #833CAC #A15FC7 #BC8CD7 #D6BAE7

Accessibility & contrast

On white

4.22
#A15FC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#A15FC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A15FC7
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A15FC7#FFFFFF#000000##000000
##A15FC71.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4478CB
Deuteranopia (green-blind)
#597DC4
Tritanopia (blue-blind)
#9D708A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a15fc7;
/* rgb */ color: rgb(161, 95, 199);
/* oklch */ color: oklch(60.3% 0.164 311.7);
Tailwind
colors: {
  custom: {
    50: '#bf8fd8',
    500: '#a15fc7',
    950: '#000000',
  },
}
SCSS
$custom: #a15fc7;
$custom-light: #bf8fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#a15fc7",
  "rgb": {
    "r": 161,
    "g": 95,
    "b": 199
  },
  "hsl": {
    "h": 278.077,
    "s": 48.148,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60256,
    "c": 0.16413,
    "h": 311.7
  },
  "luminance": 0.19885
}

Semantic roles & 50–950 ramp

primary
#A15FC7
secondary
#BBD6AC
accent
#D85082
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #A15FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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