#A05CDB#A05CDB

#A05CDB is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.9% C 0.191 H 306.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#A05CDB
RGBrgb(160, 92, 219)
HSLhsl(272, 64%, 61%)
HSVhsv(272, 58%, 86%)
CMYKcmyk(26.9%, 58%, 0%, 14.1%)
CIE-LABlab(52.11, 50.99, -54.58)
CIE-LCHlch(52.11, 74.70, 313.05°)
OKLaboklab(60.89% 0.1128 -0.154)
OKLCHoklch(60.89% 0.191 306.2)
XYZxyz(31.1078, 20.2426, 69.2725)
Luminance0.2024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A05CDB #97DB5C
analogous
#605CDB #A05CDB #DB5CD6
triadic
#A05CDB #DBA05C #5CDBA0
tetradic
#A05CDB #DB605C #97DB5C #5CD6DB
square
#A05CDB #DB605C #97DB5C #5CD6DB
split-complementary
#A05CDB #D6DB5C #5CDB60
monochromatic
#63229A #832DCD #A05CDB #BD8EE6 #DAC0F1

Accessibility & contrast

On white

4.16
#A05CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#A05CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A05CDB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A05CDB#FFFFFF#000000##000000
##A05CDB1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#287ADF
Deuteranopia (green-blind)
#457DD8
Tritanopia (blue-blind)
#967593
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a05cdb;
/* rgb */ color: rgb(160, 92, 219);
/* oklch */ color: oklch(60.9% 0.191 306.2);
Tailwind
colors: {
  custom: {
    50: '#c08de7',
    500: '#a05cdb',
    950: '#000000',
  },
}
SCSS
$custom: #a05cdb;
$custom-light: #c08de7;
$custom-dark: #000000;
JSON
{
  "hex": "#a05cdb",
  "rgb": {
    "r": 160,
    "g": 92,
    "b": 219
  },
  "hsl": {
    "h": 272.126,
    "s": 63.819,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60887,
    "c": 0.19089,
    "h": 306.2
  },
  "luminance": 0.20242
}

Semantic roles & 50–950 ramp

primary
#A05CDB
secondary
#C8E1B1
accent
#CC1A6C
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A05CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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