#A45DCA#A45DCA

#A45DCA is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.5% C 0.172 H 312.4°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#A45DCA
RGBrgb(164, 93, 202)
HSLhsl(279, 51%, 58%)
HSVhsv(279, 54%, 79%)
CMYKcmyk(18.8%, 54%, 0%, 20.8%)
CIE-LABlab(51.82, 47.65, -45.33)
CIE-LCHlch(51.82, 65.77, 316.43°)
OKLaboklab(60.47% 0.1159 -0.1268)
OKLCHoklch(60.47% 0.172 312.4)
XYZxyz(29.8830, 19.9862, 58.1492)
Luminance0.1998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45DCA #83CA5D
analogous
#6E5DCA #A45DCA #CA5DB9
triadic
#A45DCA #CAA45D #5DCAA4
tetradic
#A45DCA #CA6E5D #83CA5D #5DB9CA
square
#A45DCA #CA6E5D #83CA5D #5DB9CA
split-complementary
#A45DCA #B9CA5D #5DCA6E
monochromatic
#642B82 #873AB0 #A45DCA #BE8BD9 #D8B9E8

Accessibility & contrast

On white

4.20
#A45DCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#A45DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45DCA
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45DCA#FFFFFF#000000##000000
##A45DCA1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4078CE
Deuteranopia (green-blind)
#577DC7
Tritanopia (blue-blind)
#A06F8B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a45dca;
/* rgb */ color: rgb(164, 93, 202);
/* oklch */ color: oklch(60.5% 0.172 312.4);
Tailwind
colors: {
  custom: {
    50: '#c18eda',
    500: '#a45dca',
    950: '#000000',
  },
}
SCSS
$custom: #a45dca;
$custom-light: #c18eda;
$custom-dark: #000000;
JSON
{
  "hex": "#a45dca",
  "rgb": {
    "r": 164,
    "g": 93,
    "b": 202
  },
  "hsl": {
    "h": 279.083,
    "s": 50.698,
    "l": 57.843
  },
  "oklch": {
    "l": 0.6047,
    "c": 0.1718,
    "h": 312.4
  },
  "luminance": 0.19985
}

Semantic roles & 50–950 ramp

primary
#A45DCA
secondary
#BBD7AC
accent
#DA4E7F
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A45DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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