#A45FC0#A45FC0

#A45FC0 is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.2% C 0.158 H 315.4°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#A45FC0
RGBrgb(164, 95, 192)
HSLhsl(283, 43%, 56%)
HSVhsv(283, 51%, 75%)
CMYKcmyk(14.6%, 50.5%, 0%, 24.7%)
CIE-LABlab(51.71, 44.44, -39.77)
CIE-LCHlch(51.71, 59.64, 318.18°)
OKLaboklab(60.22% 0.1122 -0.1106)
OKLCHoklch(60.22% 0.158 315.4)
XYZxyz(28.9150, 19.8835, 52.1737)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45FC0 #7BC05F
analogous
#745FC0 #A45FC0 #C05FAC
triadic
#A45FC0 #C0A45F #5FC0A4
tetradic
#A45FC0 #C0745F #7BC05F #5FACC0
square
#A45FC0 #C0745F #7BC05F #5FACC0
split-complementary
#A45FC0 #ACC05F #5FC074
monochromatic
#612F76 #8640A2 #A45FC0 #BD8BD1 #D6B7E3

Accessibility & contrast

On white

4.22
#A45FC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#A45FC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45FC0
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45FC0#FFFFFF#000000##000000
##A45FC01.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A77C3
Deuteranopia (green-blind)
#5F7DBD
Tritanopia (blue-blind)
#A26E87
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a45fc0;
/* rgb */ color: rgb(164, 95, 192);
/* oklch */ color: oklch(60.2% 0.158 315.4);
Tailwind
colors: {
  custom: {
    50: '#c18fd3',
    500: '#a45fc0',
    950: '#000000',
  },
}
SCSS
$custom: #a45fc0;
$custom-light: #c18fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#a45fc0",
  "rgb": {
    "r": 164,
    "g": 95,
    "b": 192
  },
  "hsl": {
    "h": 282.68,
    "s": 43.498,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60215,
    "c": 0.15761,
    "h": 315.4
  },
  "luminance": 0.19883
}

Semantic roles & 50–950 ramp

primary
#A45FC0
secondary
#B5D1A9
accent
#D35579
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #A45FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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