#A15FEF#A15FEF

#A15FEF is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 62.7% C 0.209 H 301.8°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#A15FEF
RGBrgb(161, 95, 239)
HSLhsl(268, 82%, 65%)
HSVhsv(268, 60%, 94%)
CMYKcmyk(32.6%, 60.3%, 0%, 6.3%)
CIE-LABlab(54.02, 54.40, -62.76)
CIE-LCHlch(54.02, 83.06, 310.92°)
OKLaboklab(62.7% 0.1102 -0.178)
OKLCHoklch(62.7% 0.209 301.8)
XYZxyz(34.3665, 21.9934, 84.0792)
Luminance0.2199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A15FEF #ADEF5F
analogous
#5F65EF #A15FEF #E95FEF
triadic
#A15FEF #EFA15F #5FEFA1
tetradic
#A15FEF #EF5F65 #ADEF5F #5FEFE9
square
#A15FEF #EF5F65 #ADEF5F #5FEFE9
split-complementary
#A15FEF #EFE95F #65EF5F
monochromatic
#6313C0 #8027E9 #A15FEF #C297F5 #E2CEFA

Accessibility & contrast

On white

3.89
#A15FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#A15FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A15FEF
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A15FEF#FFFFFF#000000##000000
##A15FEF1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F4
Deuteranopia (green-blind)
#3381EC
Tritanopia (blue-blind)
#917D9E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a15fef;
/* rgb */ color: rgb(161, 95, 239);
/* oklch */ color: oklch(62.7% 0.209 301.8);
Tailwind
colors: {
  custom: {
    50: '#c18ff5',
    500: '#a15fef',
    950: '#000000',
  },
}
SCSS
$custom: #a15fef;
$custom-light: #c18ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#a15fef",
  "rgb": {
    "r": 161,
    "g": 95,
    "b": 239
  },
  "hsl": {
    "h": 267.5,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.62695,
    "c": 0.20931,
    "h": 301.8
  },
  "luminance": 0.21993
}

Semantic roles & 50–950 ramp

primary
#A15FEF
secondary
#D7EDBD
accent
#DE077C
background
#FCF9FF
surface
#F8F1FE
border
#D1CBD6
text
#130D17
muted
#827E85

Preview Lab

Preview with #A15FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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