#A05FD2#A05FD2

#A05FD2 is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.8% C 0.176 H 308.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#A05FD2
RGBrgb(160, 95, 210)
HSLhsl(274, 56%, 60%)
HSVhsv(274, 55%, 82%)
CMYKcmyk(23.8%, 54.8%, 0%, 17.6%)
CIE-LABlab(52.19, 47.35, -49.35)
CIE-LCHlch(52.19, 68.39, 313.82°)
OKLaboklab(60.78% 0.1088 -0.1386)
OKLCHoklch(60.78% 0.176 308.1)
XYZxyz(30.2200, 20.3115, 63.2888)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A05FD2 #91D25F
analogous
#665FD2 #A05FD2 #D25FCB
triadic
#A05FD2 #D2A05F #5FD2A0
tetradic
#A05FD2 #D2665F #91D25F #5FCBD2
square
#A05FD2 #D2665F #91D25F #5FCBD2
split-complementary
#A05FD2 #CBD25F #5FD266
monochromatic
#62288F #8336BE #A05FD2 #BC8FDF #D9BFED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A05FD2#FFFFFF#000000##000000
##A05FD21.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)
#3A7AD6
Deuteranopia (green-blind)
#507DCF
Tritanopia (blue-blind)
#99748F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a05fd2;
/* rgb */ color: rgb(160, 95, 210);
/* oklch */ color: oklch(60.8% 0.176 308.1);
Tailwind
colors: {
  custom: {
    50: '#bf8fe0',
    500: '#a05fd2',
    950: '#000000',
  },
}
SCSS
$custom: #a05fd2;
$custom-light: #bf8fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#a05fd2",
  "rgb": {
    "r": 160,
    "g": 95,
    "b": 210
  },
  "hsl": {
    "h": 273.913,
    "s": 56.098,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60777,
    "c": 0.17623,
    "h": 308.1
  },
  "luminance": 0.20311
}

Semantic roles & 50–950 ramp

primary
#A05FD2
secondary
#C4DDB0
accent
#DF488A
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #A05FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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