#A45FBA#A45FBA

#A45FBA is a mid, vivid purple. Relative luminance 0.196; OKLCH L 59.9% C 0.151 H 317.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#A45FBA
RGBrgb(164, 95, 186)
HSLhsl(285, 40%, 55%)
HSVhsv(285, 49%, 73%)
CMYKcmyk(11.8%, 48.9%, 0%, 27.1%)
CIE-LABlab(51.41, 43.18, -36.78)
CIE-LCHlch(51.41, 56.72, 319.58°)
OKLaboklab(59.9% 0.1115 -0.102)
OKLCHoklch(59.9% 0.151 317.5)
XYZxyz(28.2637, 19.6230, 48.7436)
Luminance0.1962 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45FBA #75BA5F
analogous
#775FBA #A45FBA #BA5FA2
triadic
#A45FBA #BAA45F #5FBAA4
tetradic
#A45FBA #BA775F #75BA5F #5FA2BA
square
#A45FBA #BA775F #75BA5F #5FA2BA
split-complementary
#A45FBA #A2BA5F #5FBA77
monochromatic
#60306F #84429A #A45FBA #BC8ACC #D5B5DF

Accessibility & contrast

On white

4.26
#A45FBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#A45FBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45FBA
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45FBA#FFFFFF#000000##000000
##A45FBA1.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E76BD
Deuteranopia (green-blind)
#627DB7
Tritanopia (blue-blind)
#A46C84
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a45fba;
/* rgb */ color: rgb(164, 95, 186);
/* oklch */ color: oklch(59.9% 0.151 317.5);
Tailwind
colors: {
  custom: {
    50: '#c18fcf',
    500: '#a45fba',
    950: '#000000',
  },
}
SCSS
$custom: #a45fba;
$custom-light: #c18fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#a45fba",
  "rgb": {
    "r": 164,
    "g": 95,
    "b": 186
  },
  "hsl": {
    "h": 285.495,
    "s": 39.738,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59898,
    "c": 0.15109,
    "h": 317.5
  },
  "luminance": 0.19622
}

Semantic roles & 50–950 ramp

primary
#A45FBA
secondary
#B1CDA7
accent
#D05875
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #A45FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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