#A45FD7#A45FD7

#A45FD7 is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.5% C 0.183 H 308.5°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#A45FD7
RGBrgb(164, 95, 215)
HSLhsl(275, 60%, 61%)
HSVhsv(275, 56%, 84%)
CMYKcmyk(23.7%, 55.8%, 0%, 15.7%)
CIE-LABlab(52.93, 49.50, -50.98)
CIE-LCHlch(52.93, 71.05, 314.16°)
OKLaboklab(61.52% 0.114 -0.1433)
OKLCHoklch(61.52% 0.183 308.5)
XYZxyz(31.6654, 20.9837, 66.6589)
Luminance0.2098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45FD7 #92D75F
analogous
#685FD7 #A45FD7 #D75FCE
triadic
#A45FD7 #D7A45F #5FD7A4
tetradic
#A45FD7 #D7685F #92D75F #5FCED7
square
#A45FD7 #D7685F #92D75F #5FCED7
split-complementary
#A45FD7 #CED75F #5FD768
monochromatic
#662696 #8832C7 #A45FD7 #C090E3 #DCC1EF

Accessibility & contrast

On white

4.04
#A45FD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#A45FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45FD7
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45FD7#FFFFFF#000000##000000
##A45FD71.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#377CDB
Deuteranopia (green-blind)
#507FD4
Tritanopia (blue-blind)
#9D7592
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a45fd7;
/* rgb */ color: rgb(164, 95, 215);
/* oklch */ color: oklch(61.5% 0.183 308.5);
Tailwind
colors: {
  custom: {
    50: '#c28fe4',
    500: '#a45fd7',
    950: '#000000',
  },
}
SCSS
$custom: #a45fd7;
$custom-light: #c28fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#a45fd7",
  "rgb": {
    "r": 164,
    "g": 95,
    "b": 215
  },
  "hsl": {
    "h": 274.5,
    "s": 60,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61517,
    "c": 0.18311,
    "h": 308.5
  },
  "luminance": 0.20983
}

Semantic roles & 50–950 ramp

primary
#A45FD7
secondary
#C5E0B2
accent
#C81E66
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130D15
muted
#827D84

Preview Lab

Preview with #A45FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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