#A45DC9#A45DC9

#A45DC9 is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.4% C 0.171 H 312.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#A45DC9
RGBrgb(164, 93, 201)
HSLhsl(279, 50%, 58%)
HSVhsv(279, 54%, 79%)
CMYKcmyk(18.4%, 53.7%, 0%, 21.2%)
CIE-LABlab(51.77, 47.44, -44.84)
CIE-LCHlch(51.77, 65.28, 316.61°)
OKLaboklab(60.41% 0.1158 -0.1254)
OKLCHoklch(60.41% 0.171 312.7)
XYZxyz(29.7650, 19.9390, 57.5277)
Luminance0.1994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45DC9 #82C95D
analogous
#6E5DC9 #A45DC9 #C95DB8
triadic
#A45DC9 #C9A45D #5DC9A4
tetradic
#A45DC9 #C96E5D #82C95D #5DB8C9
square
#A45DC9 #C96E5D #82C95D #5DB8C9
split-complementary
#A45DC9 #B8C95D #5DC96E
monochromatic
#632B81 #873AAF #A45DC9 #BE8BD8 #D8B9E8

Accessibility & contrast

On white

4.21
#A45DC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#A45DC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45DC9
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45DC9#FFFFFF#000000##000000
##A45DC91.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4178CD
Deuteranopia (green-blind)
#587DC6
Tritanopia (blue-blind)
#A06F8A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a45dc9;
/* rgb */ color: rgb(164, 93, 201);
/* oklch */ color: oklch(60.4% 0.171 312.7);
Tailwind
colors: {
  custom: {
    50: '#c18dda',
    500: '#a45dc9',
    950: '#000000',
  },
}
SCSS
$custom: #a45dc9;
$custom-light: #c18dda;
$custom-dark: #000000;
JSON
{
  "hex": "#a45dc9",
  "rgb": {
    "r": 164,
    "g": 93,
    "b": 201
  },
  "hsl": {
    "h": 279.444,
    "s": 50,
    "l": 57.647
  },
  "oklch": {
    "l": 0.60413,
    "c": 0.17071,
    "h": 312.7
  },
  "luminance": 0.19938
}

Semantic roles & 50–950 ramp

primary
#A45DC9
secondary
#BAD7AB
accent
#DA4E7E
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A45DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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