#A05CDF#A05CDF

#A05CDF is a mid, vivid violet. Relative luminance 0.205; OKLCH L 61.1% C 0.195 H 305.3°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#A05CDF
RGBrgb(160, 92, 223)
HSLhsl(271, 67%, 62%)
HSVhsv(271, 59%, 87%)
CMYKcmyk(28.3%, 58.7%, 0%, 12.5%)
CIE-LABlab(52.35, 51.92, -56.46)
CIE-LCHlch(52.35, 76.71, 312.60°)
OKLaboklab(61.14% 0.1128 -0.1595)
OKLCHoklch(61.14% 0.195 305.3)
XYZxyz(31.6407, 20.4558, 72.0792)
Luminance0.2046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A05CDF #9BDF5C
analogous
#5F5CDF #A05CDF #DF5CDC
triadic
#A05CDF #DFA05C #5CDFA0
tetradic
#A05CDF #DF5F5C #9BDF5C #5CDCDF
square
#A05CDF #DF5F5C #9BDF5C #5CDCDF
split-complementary
#A05CDF #DCDF5C #5CDF5F
monochromatic
#6320A1 #822AD4 #A05CDF #BE8FE9 #DCC2F3

Accessibility & contrast

On white

4.12
#A05CDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#A05CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A05CDF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A05CDF#FFFFFF#000000##000000
##A05CDF1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#217BE3
Deuteranopia (green-blind)
#417DDC
Tritanopia (blue-blind)
#957695
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a05cdf;
/* rgb */ color: rgb(160, 92, 223);
/* oklch */ color: oklch(61.1% 0.195 305.3);
Tailwind
colors: {
  custom: {
    50: '#c08dea',
    500: '#a05cdf',
    950: '#000000',
  },
}
SCSS
$custom: #a05cdf;
$custom-light: #c08dea;
$custom-dark: #000000;
JSON
{
  "hex": "#a05cdf",
  "rgb": {
    "r": 160,
    "g": 92,
    "b": 223
  },
  "hsl": {
    "h": 271.145,
    "s": 67.179,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61138,
    "c": 0.19537,
    "h": 305.3
  },
  "luminance": 0.20456
}

Semantic roles & 50–950 ramp

primary
#A05CDF
secondary
#CAE4B3
accent
#CF166F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A05CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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