#A05FE4#A05FE4

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

Color values

HEX#A05FE4
RGBrgb(160, 95, 228)
HSLhsl(269, 71%, 63%)
HSVhsv(269, 58%, 89%)
CMYKcmyk(29.8%, 58.3%, 0%, 10.6%)
CIE-LABlab(53.23, 51.54, -57.87)
CIE-LCHlch(53.23, 77.49, 311.69°)
OKLaboklab(61.88% 0.1092 -0.1636)
OKLCHoklch(61.88% 0.197 303.7)
XYZxyz(32.5899, 21.2595, 75.7703)
Luminance0.2126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A05FE4 #A3E45F
analogous
#5F60E4 #A05FE4 #E25FE4
triadic
#A05FE4 #E4A05F #5FE4A0
tetradic
#A05FE4 #E45F60 #A3E45F #5FE4E2
square
#A05FE4 #E45F60 #A3E45F #5FE4E2
split-complementary
#A05FE4 #E4E25F #60E45F
monochromatic
#631DAC #812BDB #A05FE4 #BF93ED #DEC8F6

Accessibility & contrast

On white

4.00
#A05FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#A05FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A05FE4
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A05FE4#FFFFFF#000000##000000
##A05FE41.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#217EE8
Deuteranopia (green-blind)
#407FE1
Tritanopia (blue-blind)
#937A99
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a05fe4;
/* rgb */ color: rgb(160, 95, 228);
/* oklch */ color: oklch(61.9% 0.197 303.7);
Tailwind
colors: {
  custom: {
    50: '#c08fed',
    500: '#a05fe4',
    950: '#000000',
  },
}
SCSS
$custom: #a05fe4;
$custom-light: #c08fed;
$custom-dark: #000000;
JSON
{
  "hex": "#a05fe4",
  "rgb": {
    "r": 160,
    "g": 95,
    "b": 228
  },
  "hsl": {
    "h": 269.323,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6188,
    "c": 0.19668,
    "h": 303.7
  },
  "luminance": 0.21259
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A05FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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