#A05FDE#A05FDE

#A05FDE is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.5% C 0.190 H 305.1°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#A05FDE
RGBrgb(160, 95, 222)
HSLhsl(271, 66%, 62%)
HSVhsv(271, 57%, 87%)
CMYKcmyk(27.9%, 57.2%, 0%, 12.9%)
CIE-LABlab(52.88, 50.13, -55.06)
CIE-LCHlch(52.88, 74.46, 312.32°)
OKLaboklab(61.5% 0.1091 -0.1554)
OKLCHoklch(61.5% 0.19 305.1)
XYZxyz(31.7714, 20.9321, 71.4596)
Luminance0.2093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A05FDE #9DDE5F
analogous
#615FDE #A05FDE #DE5FDC
triadic
#A05FDE #DEA05F #5FDEA0
tetradic
#A05FDE #DE615F #9DDE5F #5FDCDE
square
#A05FDE #DE615F #9DDE5F #5FDCDE
split-complementary
#A05FDE #DCDE5F #5FDE61
monochromatic
#6321A1 #822CD4 #A05FDE #BE92E8 #DCC4F3

Accessibility & contrast

On white

4.05
#A05FDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#A05FDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A05FDE
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A05FDE#FFFFFF#000000##000000
##A05FDE1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7CE2
Deuteranopia (green-blind)
#467EDB
Tritanopia (blue-blind)
#957896
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a05fde;
/* rgb */ color: rgb(160, 95, 222);
/* oklch */ color: oklch(61.5% 0.190 305.1);
Tailwind
colors: {
  custom: {
    50: '#c08fe9',
    500: '#a05fde',
    950: '#000000',
  },
}
SCSS
$custom: #a05fde;
$custom-light: #c08fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#a05fde",
  "rgb": {
    "r": 160,
    "g": 95,
    "b": 222
  },
  "hsl": {
    "h": 270.709,
    "s": 65.803,
    "l": 62.157
  },
  "oklch": {
    "l": 0.61503,
    "c": 0.18987,
    "h": 305.1
  },
  "luminance": 0.20932
}

Semantic roles & 50–950 ramp

primary
#A05FDE
secondary
#CCE4B5
accent
#CE1871
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #A05FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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