#A45DCD#A45DCD

#A45DCD is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.6% C 0.175 H 311.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#A45DCD
RGBrgb(164, 93, 205)
HSLhsl(278, 53%, 58%)
HSVhsv(278, 55%, 80%)
CMYKcmyk(20%, 54.6%, 0%, 19.6%)
CIE-LABlab(51.98, 48.31, -46.79)
CIE-LCHlch(51.98, 67.26, 315.92°)
OKLaboklab(60.64% 0.1161 -0.1311)
OKLCHoklch(60.64% 0.175 311.5)
XYZxyz(30.2417, 20.1296, 60.0381)
Luminance0.2013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45DCD #86CD5D
analogous
#6C5DCD #A45DCD #CD5DBE
triadic
#A45DCD #CDA45D #5DCDA4
tetradic
#A45DCD #CD6C5D #86CD5D #5DBECD
square
#A45DCD #CD6C5D #86CD5D #5DBECD
split-complementary
#A45DCD #BECD5D #5DCD6C
monochromatic
#642986 #8738B5 #A45DCD #BE8CDB #D9BBEA

Accessibility & contrast

On white

4.18
#A45DCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#A45DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45DCD
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45DCD#FFFFFF#000000##000000
##A45DCD1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D78D1
Deuteranopia (green-blind)
#557DCA
Tritanopia (blue-blind)
#9F708C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a45dcd;
/* rgb */ color: rgb(164, 93, 205);
/* oklch */ color: oklch(60.6% 0.175 311.5);
Tailwind
colors: {
  custom: {
    50: '#c28edd',
    500: '#a45dcd',
    950: '#000000',
  },
}
SCSS
$custom: #a45dcd;
$custom-light: #c28edd;
$custom-dark: #000000;
JSON
{
  "hex": "#a45dcd",
  "rgb": {
    "r": 164,
    "g": 93,
    "b": 205
  },
  "hsl": {
    "h": 278.036,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60642,
    "c": 0.1751,
    "h": 311.5
  },
  "luminance": 0.20129
}

Semantic roles & 50–950 ramp

primary
#A45DCD
secondary
#BDD9AD
accent
#DC4C81
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A45DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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