#A45FBC#A45FBC

#A45FBC is a mid, vivid purple. Relative luminance 0.197; OKLCH L 60.0% C 0.153 H 316.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#A45FBC
RGBrgb(164, 95, 188)
HSLhsl(285, 41%, 55%)
HSVhsv(285, 49%, 74%)
CMYKcmyk(12.8%, 49.5%, 0%, 26.3%)
CIE-LABlab(51.51, 43.60, -37.78)
CIE-LCHlch(51.51, 57.69, 319.09°)
OKLaboklab(60% 0.1118 -0.1049)
OKLCHoklch(60% 0.153 316.8)
XYZxyz(28.4778, 19.7087, 49.8712)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45FBC #77BC5F
analogous
#755FBC #A45FBC #BC5FA5
triadic
#A45FBC #BCA45F #5FBCA4
tetradic
#A45FBC #BC755F #77BC5F #5FA5BC
square
#A45FBC #BC755F #77BC5F #5FA5BC
split-complementary
#A45FBC #A5BC5F #5FBC75
monochromatic
#602F71 #85419C #A45FBC #BD8ACE #D5B5E0

Accessibility & contrast

On white

4.25
#A45FBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#A45FBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45FBC
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45FBC#FFFFFF#000000##000000
##A45FBC1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D76BF
Deuteranopia (green-blind)
#617DB9
Tritanopia (blue-blind)
#A36D85
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a45fbc;
/* rgb */ color: rgb(164, 95, 188);
/* oklch */ color: oklch(60.0% 0.153 316.8);
Tailwind
colors: {
  custom: {
    50: '#c18fd0',
    500: '#a45fbc',
    950: '#000000',
  },
}
SCSS
$custom: #a45fbc;
$custom-light: #c18fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#a45fbc",
  "rgb": {
    "r": 164,
    "g": 95,
    "b": 188
  },
  "hsl": {
    "h": 284.516,
    "s": 40.969,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60003,
    "c": 0.15325,
    "h": 316.8
  },
  "luminance": 0.19708
}

Semantic roles & 50–950 ramp

primary
#A45FBC
secondary
#B2CFA8
accent
#D15776
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #A45FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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