#A45FBF#A45FBF

#A45FBF is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.2% C 0.157 H 315.8°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#A45FBF
RGBrgb(164, 95, 191)
HSLhsl(283, 43%, 56%)
HSVhsv(283, 50%, 75%)
CMYKcmyk(14.1%, 50.3%, 0%, 25.1%)
CIE-LABlab(51.66, 44.23, -39.27)
CIE-LCHlch(51.66, 59.15, 318.40°)
OKLaboklab(60.16% 0.1121 -0.1092)
OKLCHoklch(60.16% 0.157 315.8)
XYZxyz(28.8046, 19.8394, 51.5921)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45FBF #7ABF5F
analogous
#745FBF #A45FBF #BF5FAA
triadic
#A45FBF #BFA45F #5FBFA4
tetradic
#A45FBF #BF745F #7ABF5F #5FAABF
square
#A45FBF #BF745F #7ABF5F #5FAABF
split-complementary
#A45FBF #AABF5F #5FBF74
monochromatic
#612F75 #8540A1 #A45FBF #BD8BD0 #D6B6E2

Accessibility & contrast

On white

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

On black

4.97
#A45FBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45FBF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45FBF#FFFFFF#000000##000000
##A45FBF1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a45fbf;
/* rgb */ color: rgb(164, 95, 191);
/* oklch */ color: oklch(60.2% 0.157 315.8);
Tailwind
colors: {
  custom: {
    50: '#c18fd3',
    500: '#a45fbf',
    950: '#000000',
  },
}
SCSS
$custom: #a45fbf;
$custom-light: #c18fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#a45fbf",
  "rgb": {
    "r": 164,
    "g": 95,
    "b": 191
  },
  "hsl": {
    "h": 283.125,
    "s": 42.857,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60162,
    "c": 0.15652,
    "h": 315.8
  },
  "luminance": 0.19839
}

Semantic roles & 50–950 ramp

primary
#A45FBF
secondary
#B4D1A9
accent
#D35578
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #A45FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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