#A05FE1#A05FE1

#A05FE1 is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.7% C 0.193 H 304.4°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#A05FE1
RGBrgb(160, 95, 225)
HSLhsl(270, 68%, 63%)
HSVhsv(270, 58%, 88%)
CMYKcmyk(28.9%, 57.8%, 0%, 11.8%)
CIE-LABlab(53.05, 50.83, -56.46)
CIE-LCHlch(53.05, 75.98, 312.00°)
OKLaboklab(61.69% 0.1092 -0.1595)
OKLCHoklch(61.69% 0.193 304.4)
XYZxyz(32.1770, 21.0944, 73.5960)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A05FE1 #A0E15F
analogous
#5F5FE1 #A05FE1 #E15FE1
triadic
#A05FE1 #E1A05F #5FE1A0
tetradic
#A05FE1 #E15F5F #A0E15F #5FE1E1
square
#A05FE1 #E15F5F #A0E15F #5FE1E1
split-complementary
#A05FE1 #E1E15F #5FE15F
monochromatic
#631FA6 #812BD7 #A05FE1 #BF93EB #DDC6F4

Accessibility & contrast

On white

4.02
#A05FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#A05FE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A05FE1
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A05FE1#FFFFFF#000000##000000
##A05FE11.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#267DE5
Deuteranopia (green-blind)
#437FDE
Tritanopia (blue-blind)
#947997
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a05fe1;
/* rgb */ color: rgb(160, 95, 225);
/* oklch */ color: oklch(61.7% 0.193 304.4);
Tailwind
colors: {
  custom: {
    50: '#c08feb',
    500: '#a05fe1',
    950: '#000000',
  },
}
SCSS
$custom: #a05fe1;
$custom-light: #c08feb;
$custom-dark: #000000;
JSON
{
  "hex": "#a05fe1",
  "rgb": {
    "r": 160,
    "g": 95,
    "b": 225
  },
  "hsl": {
    "h": 270,
    "s": 68.421,
    "l": 62.745
  },
  "oklch": {
    "l": 0.6169,
    "c": 0.19328,
    "h": 304.4
  },
  "luminance": 0.21094
}

Semantic roles & 50–950 ramp

primary
#A05FE1
secondary
#CEE5B6
accent
#D01573
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #A05FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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