#A15FE3#A15FE3

#A15FE3 is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.9% C 0.196 H 304.3°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#A15FE3
RGBrgb(161, 95, 227)
HSLhsl(270, 70%, 63%)
HSVhsv(270, 58%, 89%)
CMYKcmyk(29.1%, 58.1%, 0%, 11%)
CIE-LABlab(53.28, 51.54, -57.21)
CIE-LCHlch(53.28, 77.01, 312.01°)
OKLaboklab(61.92% 0.1104 -0.1617)
OKLCHoklch(61.92% 0.196 304.3)
XYZxyz(32.6522, 21.3077, 75.0508)
Luminance0.2131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A15FE3 #A1E35F
analogous
#5F5FE3 #A15FE3 #E35FE3
triadic
#A15FE3 #E3A15F #5FE3A1
tetradic
#A15FE3 #E35F5F #A1E35F #5FE3E3
square
#A15FE3 #E35F5F #A1E35F #5FE3E3
split-complementary
#A15FE3 #E3E35F #5FE35F
monochromatic
#641EAA #822BDA #A15FE3 #C093EC #DEC7F5

Accessibility & contrast

On white

3.99
#A15FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#A15FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A15FE3
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A15FE3#FFFFFF#000000##000000
##A15FE31.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#247EE7
Deuteranopia (green-blind)
#427FE0
Tritanopia (blue-blind)
#957998
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a15fe3;
/* rgb */ color: rgb(161, 95, 227);
/* oklch */ color: oklch(61.9% 0.196 304.3);
Tailwind
colors: {
  custom: {
    50: '#c18fec',
    500: '#a15fe3',
    950: '#000000',
  },
}
SCSS
$custom: #a15fe3;
$custom-light: #c18fec;
$custom-dark: #000000;
JSON
{
  "hex": "#a15fe3",
  "rgb": {
    "r": 161,
    "g": 95,
    "b": 227
  },
  "hsl": {
    "h": 270,
    "s": 70.213,
    "l": 63.137
  },
  "oklch": {
    "l": 0.61924,
    "c": 0.19579,
    "h": 304.3
  },
  "luminance": 0.21308
}

Semantic roles & 50–950 ramp

primary
#A15FE3
secondary
#CFE7B7
accent
#D21373
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #A15FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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