#B45DAF#B45DAF

#B45DAF is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.0% C 0.153 H 329.4°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#B45DAF
RGBrgb(180, 93, 175)
HSLhsl(303, 37%, 54%)
HSVhsv(303, 48%, 71%)
CMYKcmyk(0%, 48.3%, 2.8%, 29.4%)
CIE-LABlab(52.54, 46.78, -28.48)
CIE-LCHlch(52.54, 54.77, 328.67°)
OKLaboklab(61.01% 0.1316 -0.0778)
OKLCHoklch(61.01% 0.153 329.4)
XYZxyz(30.4742, 20.6289, 42.9258)
Luminance0.2063 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45DAF #5DB462
analogous
#8D5DB4 #B45DAF #B45D83
triadic
#B45DAF #AFB45D #5DAFB4
tetradic
#B45DAF #B48D5D #5DB462 #5D83B4
square
#B45DAF #B48D5D #5DB462 #5D83B4
split-complementary
#B45DAF #83B45D #5DB48D
monochromatic
#673064 #91438C #B45DAF #C787C4 #DBB1D8

Accessibility & contrast

On white

4.10
#B45DAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#B45DAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45DAF
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45DAF#FFFFFF#000000##000000
##B45DAF1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5876B2
Deuteranopia (green-blind)
#7182AC
Tritanopia (blue-blind)
#B9657E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b45daf;
/* rgb */ color: rgb(180, 93, 175);
/* oklch */ color: oklch(61.0% 0.153 329.4);
Tailwind
colors: {
  custom: {
    50: '#cc8ec7',
    500: '#b45daf',
    950: '#000000',
  },
}
SCSS
$custom: #b45daf;
$custom-light: #cc8ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#b45daf",
  "rgb": {
    "r": 180,
    "g": 93,
    "b": 175
  },
  "hsl": {
    "h": 303.448,
    "s": 36.709,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61009,
    "c": 0.15285,
    "h": 329.4
  },
  "luminance": 0.20627
}

Semantic roles & 50–950 ramp

primary
#B45DAF
secondary
#A4C9A6
accent
#CD625B
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140C13
muted
#827D82

Preview Lab

Preview with #B45DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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