#A05FD4#A05FD4

#A05FD4 is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.9% C 0.178 H 307.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#A05FD4
RGBrgb(160, 95, 212)
HSLhsl(273, 58%, 60%)
HSVhsv(273, 55%, 83%)
CMYKcmyk(24.5%, 55.2%, 0%, 16.9%)
CIE-LABlab(52.30, 47.81, -50.31)
CIE-LCHlch(52.30, 69.40, 313.54°)
OKLaboklab(60.9% 0.1089 -0.1415)
OKLCHoklch(60.9% 0.179 307.6)
XYZxyz(30.4707, 20.4118, 64.6093)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A05FD4 #93D45F
analogous
#655FD4 #A05FD4 #D45FCE
triadic
#A05FD4 #D4A05F #5FD4A0
tetradic
#A05FD4 #D4655F #93D45F #5FCED4
square
#A05FD4 #D4655F #93D45F #5FCED4
split-complementary
#A05FD4 #CED45F #5FD465
monochromatic
#622791 #8334C2 #A05FD4 #BD8FE1 #D9BFEE

Accessibility & contrast

On white

4.13
#A05FD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#A05FD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A05FD4
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A05FD4#FFFFFF#000000##000000
##A05FD41.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#387AD8
Deuteranopia (green-blind)
#4F7DD1
Tritanopia (blue-blind)
#987490
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a05fd4;
/* rgb */ color: rgb(160, 95, 212);
/* oklch */ color: oklch(60.9% 0.178 307.6);
Tailwind
colors: {
  custom: {
    50: '#bf8fe2',
    500: '#a05fd4',
    950: '#000000',
  },
}
SCSS
$custom: #a05fd4;
$custom-light: #bf8fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#a05fd4",
  "rgb": {
    "r": 160,
    "g": 95,
    "b": 212
  },
  "hsl": {
    "h": 273.333,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60896,
    "c": 0.1785,
    "h": 307.6
  },
  "luminance": 0.20411
}

Semantic roles & 50–950 ramp

primary
#A05FD4
secondary
#C5DEB1
accent
#C5206A
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #A05FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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