#A05EC2#A05EC2

#A05EC2 is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.7% C 0.160 H 313.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#A05EC2
RGBrgb(160, 94, 194)
HSLhsl(280, 45%, 56%)
HSVhsv(280, 52%, 76%)
CMYKcmyk(17.5%, 51.5%, 0%, 23.9%)
CIE-LABlab(51.12, 44.30, -41.88)
CIE-LCHlch(51.12, 60.96, 316.61°)
OKLaboklab(59.71% 0.1089 -0.1169)
OKLCHoklch(59.71% 0.16 313)
XYZxyz(28.2359, 19.3747, 53.2808)
Luminance0.1937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A05EC2 #80C25E
analogous
#6E5EC2 #A05EC2 #C25EB2
triadic
#A05EC2 #C2A05E #5EC2A0
tetradic
#A05EC2 #C26E5E #80C25E #5EB2C2
square
#A05EC2 #C26E5E #80C25E #5EB2C2
split-complementary
#A05EC2 #B2C25E #5EC26E
monochromatic
#5F2E78 #823EA4 #A05EC2 #BA8AD3 #D4B7E4

Accessibility & contrast

On white

4.31
#A05EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#A05EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A05EC2
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A05EC2#FFFFFF#000000##000000
##A05EC21.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4676C5
Deuteranopia (green-blind)
#5A7BBF
Tritanopia (blue-blind)
#9D6E87
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a05ec2;
/* rgb */ color: rgb(160, 94, 194);
/* oklch */ color: oklch(59.7% 0.160 313.0);
Tailwind
colors: {
  custom: {
    50: '#be8ed5',
    500: '#a05ec2',
    950: '#000000',
  },
}
SCSS
$custom: #a05ec2;
$custom-light: #be8ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#a05ec2",
  "rgb": {
    "r": 160,
    "g": 94,
    "b": 194
  },
  "hsl": {
    "h": 279.6,
    "s": 45.045,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59713,
    "c": 0.15975,
    "h": 313
  },
  "luminance": 0.19374
}

Semantic roles & 50–950 ramp

primary
#A05EC2
secondary
#B7D2A9
accent
#D5537F
background
#FBF8FD
surface
#F7F0FA
border
#D0CBD3
text
#120C14
muted
#817D83

Preview Lab

Preview with #A05EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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