#A05FDC#A05FDC

#A05FDC is a mid, vivid violet. Relative luminance 0.208; OKLCH L 61.4% C 0.188 H 305.6°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#A05FDC
RGBrgb(160, 95, 220)
HSLhsl(271, 64%, 62%)
HSVhsv(271, 57%, 86%)
CMYKcmyk(27.3%, 56.8%, 0%, 13.7%)
CIE-LABlab(52.76, 49.66, -54.11)
CIE-LCHlch(52.76, 73.45, 312.54°)
OKLaboklab(61.38% 0.1091 -0.1526)
OKLCHoklch(61.38% 0.188 305.6)
XYZxyz(31.5049, 20.8255, 70.0563)
Luminance0.2082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A05FDC #9BDC5F
analogous
#625FDC #A05FDC #DC5FDA
triadic
#A05FDC #DCA05F #5FDCA0
tetradic
#A05FDC #DC625F #9BDC5F #5FDADC
square
#A05FDC #DC625F #9BDC5F #5FDADC
split-complementary
#A05FDC #DADC5F #5FDC62
monochromatic
#63239E #822ED0 #A05FDC #BE91E7 #DCC3F2

Accessibility & contrast

On white

4.07
#A05FDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#A05FDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A05FDC
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A05FDC#FFFFFF#000000##000000
##A05FDC1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7CE0
Deuteranopia (green-blind)
#487ED9
Tritanopia (blue-blind)
#967794
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a05fdc;
/* rgb */ color: rgb(160, 95, 220);
/* oklch */ color: oklch(61.4% 0.188 305.6);
Tailwind
colors: {
  custom: {
    50: '#bf8fe7',
    500: '#a05fdc',
    950: '#000000',
  },
}
SCSS
$custom: #a05fdc;
$custom-light: #bf8fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#a05fdc",
  "rgb": {
    "r": 160,
    "g": 95,
    "b": 220
  },
  "hsl": {
    "h": 271.2,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.6138,
    "c": 0.18759,
    "h": 305.6
  },
  "luminance": 0.20825
}

Semantic roles & 50–950 ramp

primary
#A05FDC
secondary
#CAE3B4
accent
#CC1A6F
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #A05FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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