#A45FBE#A45FBE

#A45FBE is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.1% C 0.155 H 316.1°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#A45FBE
RGBrgb(164, 95, 190)
HSLhsl(284, 42%, 56%)
HSVhsv(284, 50%, 75%)
CMYKcmyk(13.7%, 50%, 0%, 25.5%)
CIE-LABlab(51.61, 44.02, -38.78)
CIE-LCHlch(51.61, 58.66, 318.62°)
OKLaboklab(60.11% 0.112 -0.1078)
OKLCHoklch(60.11% 0.155 316.1)
XYZxyz(28.6949, 19.7955, 51.0146)
Luminance0.1979 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45FBE #79BE5F
analogous
#745FBE #A45FBE #BE5FA8
triadic
#A45FBE #BEA45F #5FBEA4
tetradic
#A45FBE #BE745F #79BE5F #5FA8BE
square
#A45FBE #BE745F #79BE5F #5FA8BE
split-complementary
#A45FBE #A8BE5F #5FBE74
monochromatic
#612F74 #85419F #A45FBE #BD8BD0 #D6B6E1

Accessibility & contrast

On white

4.23
#A45FBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#A45FBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45FBE
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45FBE#FFFFFF#000000##000000
##A45FBE1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C77C1
Deuteranopia (green-blind)
#607DBB
Tritanopia (blue-blind)
#A36D86
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a45fbe;
/* rgb */ color: rgb(164, 95, 190);
/* oklch */ color: oklch(60.1% 0.155 316.1);
Tailwind
colors: {
  custom: {
    50: '#c18fd2',
    500: '#a45fbe',
    950: '#000000',
  },
}
SCSS
$custom: #a45fbe;
$custom-light: #c18fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#a45fbe",
  "rgb": {
    "r": 164,
    "g": 95,
    "b": 190
  },
  "hsl": {
    "h": 283.579,
    "s": 42.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60109,
    "c": 0.15543,
    "h": 316.1
  },
  "luminance": 0.19795
}

Semantic roles & 50–950 ramp

primary
#A45FBE
secondary
#B3D0A9
accent
#D25678
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #A45FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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