#A05AE2#A05AE2

#A05AE2 is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.1% C 0.202 H 304.9°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#A05AE2
RGBrgb(160, 90, 226)
HSLhsl(271, 70%, 62%)
HSVhsv(271, 60%, 89%)
CMYKcmyk(29.2%, 60.2%, 0%, 11.4%)
CIE-LABlab(52.15, 53.65, -58.48)
CIE-LCHlch(52.15, 79.36, 312.53°)
OKLaboklab(61.05% 0.1152 -0.1654)
OKLCHoklch(61.05% 0.202 304.9)
XYZxyz(31.8778, 20.2771, 74.1712)
Luminance0.2028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A05AE2 #9CE25A
analogous
#5C5AE2 #A05AE2 #E25AE0
triadic
#A05AE2 #E2A05A #5AE2A0
tetradic
#A05AE2 #E25C5A #9CE25A #5AE0E2
square
#A05AE2 #E25C5A #9CE25A #5AE0E2
split-complementary
#A05AE2 #E0E25A #5AE25C
monochromatic
#631DA5 #8226D9 #A05AE2 #BE8EEB #DCC2F4

Accessibility & contrast

On white

4.15
#A05AE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#A05AE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A05AE2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A05AE2#FFFFFF#000000##000000
##A05AE21.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#107AE6
Deuteranopia (green-blind)
#3B7CDF
Tritanopia (blue-blind)
#947696
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a05ae2;
/* rgb */ color: rgb(160, 90, 226);
/* oklch */ color: oklch(61.1% 0.202 304.9);
Tailwind
colors: {
  custom: {
    50: '#c08cec',
    500: '#a05ae2',
    950: '#000000',
  },
}
SCSS
$custom: #a05ae2;
$custom-light: #c08cec;
$custom-dark: #000000;
JSON
{
  "hex": "#a05ae2",
  "rgb": {
    "r": 160,
    "g": 90,
    "b": 226
  },
  "hsl": {
    "h": 270.882,
    "s": 70.103,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61051,
    "c": 0.20155,
    "h": 304.9
  },
  "luminance": 0.20277
}

Semantic roles & 50–950 ramp

primary
#A05AE2
secondary
#CBE5B3
accent
#D21370
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A05AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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