#A15FE7#A15FE7

#A15FE7 is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.2% C 0.200 H 303.4°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#A15FE7
RGBrgb(161, 95, 231)
HSLhsl(269, 74%, 64%)
HSVhsv(269, 59%, 91%)
CMYKcmyk(30.3%, 58.9%, 0%, 9.4%)
CIE-LABlab(53.53, 52.49, -59.08)
CIE-LCHlch(53.53, 79.02, 311.62°)
OKLaboklab(62.18% 0.1104 -0.1671)
OKLCHoklch(62.18% 0.2 303.4)
XYZxyz(33.2107, 21.5311, 77.9921)
Luminance0.2153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A15FE7 #A5E75F
analogous
#5F61E7 #A15FE7 #E55FE7
triadic
#A15FE7 #E7A15F #5FE7A1
tetradic
#A15FE7 #E75F61 #A5E75F #5FE7E5
square
#A15FE7 #E75F61 #A5E75F #5FE7E5
split-complementary
#A15FE7 #E7E55F #61E75F
monochromatic
#641BB1 #822ADF #A15FE7 #C094EF #E0C9F7

Accessibility & contrast

On white

3.96
#A15FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#A15FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A15FE7
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A15FE7#FFFFFF#000000##000000
##A15FE71.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B7EEB
Deuteranopia (green-blind)
#3D80E4
Tritanopia (blue-blind)
#947B9A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a15fe7;
/* rgb */ color: rgb(161, 95, 231);
/* oklch */ color: oklch(62.2% 0.200 303.4);
Tailwind
colors: {
  custom: {
    50: '#c18fef',
    500: '#a15fe7',
    950: '#000000',
  },
}
SCSS
$custom: #a15fe7;
$custom-light: #c18fef;
$custom-dark: #000000;
JSON
{
  "hex": "#a15fe7",
  "rgb": {
    "r": 161,
    "g": 95,
    "b": 231
  },
  "hsl": {
    "h": 269.118,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.62177,
    "c": 0.2003,
    "h": 303.4
  },
  "luminance": 0.21531
}

Semantic roles & 50–950 ramp

primary
#A15FE7
secondary
#D2E9B9
accent
#D60F76
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #A15FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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