#A45FDD#A45FDD

#A45FDD is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.9% C 0.190 H 307.0°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#A45FDD
RGBrgb(164, 95, 221)
HSLhsl(273, 65%, 62%)
HSVhsv(273, 57%, 87%)
CMYKcmyk(25.8%, 57%, 0%, 13.3%)
CIE-LABlab(53.27, 50.87, -53.83)
CIE-LCHlch(53.27, 74.06, 313.38°)
OKLaboklab(61.88% 0.1142 -0.1516)
OKLCHoklch(61.88% 0.19 307)
XYZxyz(32.4505, 21.2977, 70.7940)
Luminance0.2130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45FDD #98DD5F
analogous
#655FDD #A45FDD #DD5FD7
triadic
#A45FDD #DDA45F #5FDDA4
tetradic
#A45FDD #DD655F #98DD5F #5FD7DD
square
#A45FDD #DD655F #98DD5F #5FD7DD
split-complementary
#A45FDD #D7DD5F #5FDD65
monochromatic
#6722A0 #872DD2 #A45FDD #C191E8 #DDC4F2

Accessibility & contrast

On white

3.99
#A45FDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#A45FDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45FDD
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45FDD#FFFFFF#000000##000000
##A45FDD1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7DE1
Deuteranopia (green-blind)
#4B80DA
Tritanopia (blue-blind)
#9B7795
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a45fdd;
/* rgb */ color: rgb(164, 95, 221);
/* oklch */ color: oklch(61.9% 0.190 307.0);
Tailwind
colors: {
  custom: {
    50: '#c28fe8',
    500: '#a45fdd',
    950: '#000000',
  },
}
SCSS
$custom: #a45fdd;
$custom-light: #c28fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#a45fdd",
  "rgb": {
    "r": 164,
    "g": 95,
    "b": 221
  },
  "hsl": {
    "h": 272.857,
    "s": 64.948,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61878,
    "c": 0.18982,
    "h": 307
  },
  "luminance": 0.21297
}

Semantic roles & 50–950 ramp

primary
#A45FDD
secondary
#CAE3B5
accent
#CD196A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #A45FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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