#A45FD2#A45FD2

#A45FD2 is a mid, vivid violet. Relative luminance 0.207; OKLCH L 61.2% C 0.178 H 309.9°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#A45FD2
RGBrgb(164, 95, 210)
HSLhsl(276, 56%, 60%)
HSVhsv(276, 55%, 82%)
CMYKcmyk(21.9%, 54.8%, 0%, 17.6%)
CIE-LABlab(52.65, 48.38, -48.58)
CIE-LCHlch(52.65, 68.56, 314.88°)
OKLaboklab(61.22% 0.1138 -0.1363)
OKLCHoklch(61.22% 0.178 309.9)
XYZxyz(31.0327, 20.7306, 63.3269)
Luminance0.2073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45FD2 #8DD25F
analogous
#6A5FD2 #A45FD2 #D25FC7
triadic
#A45FD2 #D2A45F #5FD2A4
tetradic
#A45FD2 #D26A5F #8DD25F #5FC7D2
square
#A45FD2 #D26A5F #8DD25F #5FC7D2
split-complementary
#A45FD2 #C7D25F #5FD26A
monochromatic
#66288F #8836BE #A45FD2 #BF8FDF #DABFED

Accessibility & contrast

On white

4.08
#A45FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#A45FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45FD2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45FD2#FFFFFF#000000##000000
##A45FD21.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7BD6
Deuteranopia (green-blind)
#547FCF
Tritanopia (blue-blind)
#9E738F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a45fd2;
/* rgb */ color: rgb(164, 95, 210);
/* oklch */ color: oklch(61.2% 0.178 309.9);
Tailwind
colors: {
  custom: {
    50: '#c28fe0',
    500: '#a45fd2',
    950: '#000000',
  },
}
SCSS
$custom: #a45fd2;
$custom-light: #c28fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#a45fd2",
  "rgb": {
    "r": 164,
    "g": 95,
    "b": 210
  },
  "hsl": {
    "h": 276,
    "s": 56.098,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61223,
    "c": 0.17753,
    "h": 309.9
  },
  "luminance": 0.2073
}

Semantic roles & 50–950 ramp

primary
#A45FD2
secondary
#C2DDB0
accent
#DF4885
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130D15
muted
#827D83

Preview Lab

Preview with #A45FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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