#A15FE4#A15FE4

#A15FE4 is a mid, vivid violet. Relative luminance 0.214; OKLCH L 62.0% C 0.197 H 304.1°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#A15FE4
RGBrgb(161, 95, 228)
HSLhsl(270, 71%, 63%)
HSVhsv(270, 58%, 89%)
CMYKcmyk(29.4%, 58.3%, 0%, 10.6%)
CIE-LABlab(53.34, 51.78, -57.68)
CIE-LCHlch(53.34, 77.51, 311.91°)
OKLaboklab(61.99% 0.1104 -0.163)
OKLCHoklch(61.99% 0.197 304.1)
XYZxyz(32.7906, 21.3630, 75.7797)
Luminance0.2136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A15FE4 #A2E45F
analogous
#5F5FE4 #A15FE4 #E35FE4
triadic
#A15FE4 #E4A15F #5FE4A1
tetradic
#A15FE4 #E45F5F #A2E45F #5FE4E3
square
#A15FE4 #E45F5F #A2E45F #5FE4E3
split-complementary
#A15FE4 #E4E35F #5FE45F
monochromatic
#641DAC #822BDB #A15FE4 #C093ED #DFC8F6

Accessibility & contrast

On white

3.98
#A15FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#A15FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A15FE4
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A15FE4#FFFFFF#000000##000000
##A15FE41.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#227EE8
Deuteranopia (green-blind)
#417FE1
Tritanopia (blue-blind)
#957A99
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a15fe4;
/* rgb */ color: rgb(161, 95, 228);
/* oklch */ color: oklch(62.0% 0.197 304.1);
Tailwind
colors: {
  custom: {
    50: '#c18fed',
    500: '#a15fe4',
    950: '#000000',
  },
}
SCSS
$custom: #a15fe4;
$custom-light: #c18fed;
$custom-dark: #000000;
JSON
{
  "hex": "#a15fe4",
  "rgb": {
    "r": 161,
    "g": 95,
    "b": 228
  },
  "hsl": {
    "h": 269.774,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.61987,
    "c": 0.19691,
    "h": 304.1
  },
  "luminance": 0.21363
}

Semantic roles & 50–950 ramp

primary
#A15FE4
secondary
#D0E7B8
accent
#D31273
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #A15FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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