#A45FDC#A45FDC

#A45FDC is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.8% C 0.189 H 307.2°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#A45FDC
RGBrgb(164, 95, 220)
HSLhsl(273, 64%, 62%)
HSVhsv(273, 57%, 86%)
CMYKcmyk(25.5%, 56.8%, 0%, 13.7%)
CIE-LABlab(53.22, 50.64, -53.35)
CIE-LCHlch(53.22, 73.56, 313.50°)
OKLaboklab(61.82% 0.1142 -0.1503)
OKLCHoklch(61.82% 0.189 307.2)
XYZxyz(32.3177, 21.2446, 70.0944)
Luminance0.2124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45FDC #97DC5F
analogous
#665FDC #A45FDC #DC5FD6
triadic
#A45FDC #DCA45F #5FDCA4
tetradic
#A45FDC #DC665F #97DC5F #5FD6DC
square
#A45FDC #DC665F #97DC5F #5FD6DC
split-complementary
#A45FDC #D6DC5F #5FDC66
monochromatic
#67239E #872ED0 #A45FDC #C191E7 #DDC3F2

Accessibility & contrast

On white

4.00
#A45FDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#A45FDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45FDC
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45FDC#FFFFFF#000000##000000
##A45FDC1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#317DE0
Deuteranopia (green-blind)
#4C80D9
Tritanopia (blue-blind)
#9B7795
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a45fdc;
/* rgb */ color: rgb(164, 95, 220);
/* oklch */ color: oklch(61.8% 0.189 307.2);
Tailwind
colors: {
  custom: {
    50: '#c28fe7',
    500: '#a45fdc',
    950: '#000000',
  },
}
SCSS
$custom: #a45fdc;
$custom-light: #c28fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#a45fdc",
  "rgb": {
    "r": 164,
    "g": 95,
    "b": 220
  },
  "hsl": {
    "h": 273.12,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61817,
    "c": 0.1887,
    "h": 307.2
  },
  "luminance": 0.21244
}

Semantic roles & 50–950 ramp

primary
#A45FDC
secondary
#C9E3B4
accent
#CC1A69
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #A45FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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