#A05FDF#A05FDF

#A05FDF is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.6% C 0.191 H 304.9°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#A05FDF
RGBrgb(160, 95, 223)
HSLhsl(270, 67%, 62%)
HSVhsv(270, 57%, 87%)
CMYKcmyk(28.3%, 57.4%, 0%, 12.5%)
CIE-LABlab(52.93, 50.36, -55.53)
CIE-LCHlch(52.93, 74.96, 312.21°)
OKLaboklab(61.57% 0.1092 -0.1567)
OKLCHoklch(61.57% 0.191 304.9)
XYZxyz(31.9058, 20.9859, 72.1676)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A05FDF #9EDF5F
analogous
#605FDF #A05FDF #DF5FDE
triadic
#A05FDF #DFA05F #5FDFA0
tetradic
#A05FDF #DF605F #9EDF5F #5FDEDF
square
#A05FDF #DF605F #9EDF5F #5FDEDF
split-complementary
#A05FDF #DEDF5F #5FDF60
monochromatic
#6321A3 #822CD5 #A05FDF #BE92E9 #DDC5F3

Accessibility & contrast

On white

4.04
#A05FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#A05FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A05FDF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A05FDF#FFFFFF#000000##000000
##A05FDF1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7DE3
Deuteranopia (green-blind)
#457EDC
Tritanopia (blue-blind)
#957896
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a05fdf;
/* rgb */ color: rgb(160, 95, 223);
/* oklch */ color: oklch(61.6% 0.191 304.9);
Tailwind
colors: {
  custom: {
    50: '#c08fea',
    500: '#a05fdf',
    950: '#000000',
  },
}
SCSS
$custom: #a05fdf;
$custom-light: #c08fea;
$custom-dark: #000000;
JSON
{
  "hex": "#a05fdf",
  "rgb": {
    "r": 160,
    "g": 95,
    "b": 223
  },
  "hsl": {
    "h": 270.469,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61566,
    "c": 0.19101,
    "h": 304.9
  },
  "luminance": 0.20986
}

Semantic roles & 50–950 ramp

primary
#A05FDF
secondary
#CDE4B6
accent
#CF1771
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #A05FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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