#A05AEF#A05AEF

#A05AEF is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.9% C 0.216 H 302.1°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#A05AEF
RGBrgb(160, 90, 239)
HSLhsl(268, 82%, 65%)
HSVhsv(268, 62%, 94%)
CMYKcmyk(33.1%, 62.3%, 0%, 6.3%)
CIE-LABlab(52.97, 56.71, -64.46)
CIE-LCHlch(52.97, 85.86, 311.34°)
OKLaboklab(61.91% 0.1146 -0.183)
OKLCHoklch(61.91% 0.216 302.1)
XYZxyz(33.7297, 21.0178, 83.9245)
Luminance0.2102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A05AEF #A9EF5A
analogous
#5A5FEF #A05AEF #EA5AEF
triadic
#A05AEF #EFA05A #5AEFA0
tetradic
#A05AEF #EF5A5F #A9EF5A #5AEFEA
square
#A05AEF #EF5A5F #A9EF5A #5AEFEA
split-complementary
#A05AEF #EFEA5A #5FEF5A
monochromatic
#6212BC #8022EA #A05AEF #C092F4 #E0CAFA

Accessibility & contrast

On white

4.04
#A05AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#A05AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A05AEF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A05AEF#FFFFFF#000000##000000
##A05AEF1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF4
Deuteranopia (green-blind)
#277EEC
Tritanopia (blue-blind)
#907A9C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a05aef;
/* rgb */ color: rgb(160, 90, 239);
/* oklch */ color: oklch(61.9% 0.216 302.1);
Tailwind
colors: {
  custom: {
    50: '#c18cf5',
    500: '#a05aef',
    950: '#000000',
  },
}
SCSS
$custom: #a05aef;
$custom-light: #c18cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#a05aef",
  "rgb": {
    "r": 160,
    "g": 90,
    "b": 239
  },
  "hsl": {
    "h": 268.188,
    "s": 82.32,
    "l": 64.51
  },
  "oklch": {
    "l": 0.61907,
    "c": 0.2159,
    "h": 302.1
  },
  "luminance": 0.21018
}

Semantic roles & 50–950 ramp

primary
#A05AEF
secondary
#D4ECB9
accent
#DF0779
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85

Preview Lab

Preview with #A05AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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