#A45FD5#A45FD5

#A45FD5 is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.4% C 0.181 H 309.0°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#A45FD5
RGBrgb(164, 95, 213)
HSLhsl(275, 58%, 60%)
HSVhsv(275, 55%, 84%)
CMYKcmyk(23%, 55.4%, 0%, 16.5%)
CIE-LABlab(52.82, 49.05, -50.02)
CIE-LCHlch(52.82, 70.05, 314.44°)
OKLaboklab(61.4% 0.1139 -0.1405)
OKLCHoklch(61.4% 0.181 309)
XYZxyz(31.4100, 20.8815, 65.3138)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45FD5 #90D55F
analogous
#695FD5 #A45FD5 #D55FCB
triadic
#A45FD5 #D5A45F #5FD5A4
tetradic
#A45FD5 #D5695F #90D55F #5FCBD5
square
#A45FD5 #D5695F #90D55F #5FCBD5
split-complementary
#A45FD5 #CBD55F #5FD569
monochromatic
#662793 #8833C3 #A45FD5 #C08FE2 #DBC0EE

Accessibility & contrast

On white

4.06
#A45FD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#A45FD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45FD5
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45FD5#FFFFFF#000000##000000
##A45FD51.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#397BD9
Deuteranopia (green-blind)
#517FD2
Tritanopia (blue-blind)
#9D7491
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a45fd5;
/* rgb */ color: rgb(164, 95, 213);
/* oklch */ color: oklch(61.4% 0.181 309.0);
Tailwind
colors: {
  custom: {
    50: '#c28fe2',
    500: '#a45fd5',
    950: '#000000',
  },
}
SCSS
$custom: #a45fd5;
$custom-light: #c28fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#a45fd5",
  "rgb": {
    "r": 164,
    "g": 95,
    "b": 213
  },
  "hsl": {
    "h": 275.085,
    "s": 58.416,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61399,
    "c": 0.18088,
    "h": 309
  },
  "luminance": 0.20881
}

Semantic roles & 50–950 ramp

primary
#A45FD5
secondary
#C4DEB1
accent
#C61F65
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130D15
muted
#827D83

Preview Lab

Preview with #A45FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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