#A45CD1#A45CD1

#A45CD1 is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.7% C 0.181 H 310.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#A45CD1
RGBrgb(164, 92, 209)
HSLhsl(277, 56%, 59%)
HSVhsv(277, 56%, 82%)
CMYKcmyk(21.5%, 56%, 0%, 18%)
CIE-LABlab(52.01, 49.71, -49.04)
CIE-LCHlch(52.01, 69.83, 315.39°)
OKLaboklab(60.73% 0.1176 -0.1376)
OKLCHoklch(60.73% 0.181 310.5)
XYZxyz(30.6435, 20.1509, 62.5845)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45CD1 #89D15C
analogous
#6A5CD1 #A45CD1 #D15CC4
triadic
#A45CD1 #D1A45C #5CD1A4
tetradic
#A45CD1 #D16A5C #89D15C #5CC4D1
square
#A45CD1 #D16A5C #89D15C #5CC4D1
split-complementary
#A45CD1 #C4D15C #5CD16A
monochromatic
#65278B #8735BB #A45CD1 #BF8CDE #D9BBEC

Accessibility & contrast

On white

4.17
#A45CD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A45CD1#FFFFFF#000000##000000
##A45CD11.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3779D5
Deuteranopia (green-blind)
#517DCE
Tritanopia (blue-blind)
#9E718E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a45cd1;
/* rgb */ color: rgb(164, 92, 209);
/* oklch */ color: oklch(60.7% 0.181 310.5);
Tailwind
colors: {
  custom: {
    50: '#c28de0',
    500: '#a45cd1',
    950: '#000000',
  },
}
SCSS
$custom: #a45cd1;
$custom-light: #c28de0;
$custom-dark: #000000;
JSON
{
  "hex": "#a45cd1",
  "rgb": {
    "r": 164,
    "g": 92,
    "b": 209
  },
  "hsl": {
    "h": 276.923,
    "s": 55.981,
    "l": 59.02
  },
  "oklch": {
    "l": 0.6073,
    "c": 0.18104,
    "h": 310.5
  },
  "luminance": 0.2015
}

Semantic roles & 50–950 ramp

primary
#A45CD1
secondary
#BFDBAD
accent
#DF4983
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A45CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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