#B45CAF#B45CAF

#B45CAF is a mid, vivid purple. Relative luminance 0.205; OKLCH L 60.9% C 0.155 H 329.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#B45CAF
RGBrgb(180, 92, 175)
HSLhsl(303, 37%, 53%)
HSVhsv(303, 49%, 71%)
CMYKcmyk(0%, 48.9%, 2.8%, 29.4%)
CIE-LABlab(52.35, 47.29, -28.78)
CIE-LCHlch(52.35, 55.36, 328.68°)
OKLaboklab(60.87% 0.133 -0.0786)
OKLCHoklch(60.87% 0.155 329.4)
XYZxyz(30.3870, 20.4545, 42.8967)
Luminance0.2045 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45CAF #5CB461
analogous
#8D5CB4 #B45CAF #B45C83
triadic
#B45CAF #AFB45C #5CAFB4
tetradic
#B45CAF #B48D5C #5CB461 #5C83B4
square
#B45CAF #B48D5C #5CB461 #5C83B4
split-complementary
#B45CAF #83B45C #5CB48D
monochromatic
#662F63 #90428C #B45CAF #C786C4 #DBB0D8

Accessibility & contrast

On white

4.13
#B45CAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#B45CAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45CAF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45CAF#FFFFFF#000000##000000
##B45CAF1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5775B2
Deuteranopia (green-blind)
#7081AC
Tritanopia (blue-blind)
#BA647D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b45caf;
/* rgb */ color: rgb(180, 92, 175);
/* oklch */ color: oklch(60.9% 0.155 329.4);
Tailwind
colors: {
  custom: {
    50: '#cc8dc7',
    500: '#b45caf',
    950: '#000000',
  },
}
SCSS
$custom: #b45caf;
$custom-light: #cc8dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#b45caf",
  "rgb": {
    "r": 180,
    "g": 92,
    "b": 175
  },
  "hsl": {
    "h": 303.409,
    "s": 36.975,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60866,
    "c": 0.15452,
    "h": 329.4
  },
  "luminance": 0.20453
}

Semantic roles & 50–950 ramp

primary
#B45CAF
secondary
#A3C9A5
accent
#CD615B
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B45CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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