#A45FD9#A45FD9

#A45FD9 is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.6% C 0.185 H 308.0°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#A45FD9
RGBrgb(164, 95, 217)
HSLhsl(274, 62%, 61%)
HSVhsv(274, 56%, 85%)
CMYKcmyk(24.4%, 56.2%, 0%, 14.9%)
CIE-LABlab(53.04, 49.95, -51.93)
CIE-LCHlch(53.04, 72.05, 313.89°)
OKLaboklab(61.64% 0.1141 -0.1461)
OKLCHoklch(61.64% 0.185 308)
XYZxyz(31.9239, 21.0871, 68.0206)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45FD9 #94D95F
analogous
#675FD9 #A45FD9 #D95FD1
triadic
#A45FD9 #D9A45F #5FD9A4
tetradic
#A45FD9 #D9675F #94D95F #5FD1D9
square
#A45FD9 #D9675F #94D95F #5FD1D9
split-complementary
#A45FD9 #D1D95F #5FD967
monochromatic
#662499 #8830CB #A45FD9 #C090E5 #DCC2F0

Accessibility & contrast

On white

4.02
#A45FD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#A45FD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45FD9
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45FD9#FFFFFF#000000##000000
##A45FD91.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#347CDD
Deuteranopia (green-blind)
#4E7FD6
Tritanopia (blue-blind)
#9C7693
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a45fd9;
/* rgb */ color: rgb(164, 95, 217);
/* oklch */ color: oklch(61.6% 0.185 308.0);
Tailwind
colors: {
  custom: {
    50: '#c28fe5',
    500: '#a45fd9',
    950: '#000000',
  },
}
SCSS
$custom: #a45fd9;
$custom-light: #c28fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#a45fd9",
  "rgb": {
    "r": 164,
    "g": 95,
    "b": 217
  },
  "hsl": {
    "h": 273.934,
    "s": 61.616,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61637,
    "c": 0.18535,
    "h": 308
  },
  "luminance": 0.21087
}

Semantic roles & 50–950 ramp

primary
#A45FD9
secondary
#C7E1B3
accent
#C91C67
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #A45FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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