#B45CA7#B45CA7

#B45CA7 is a mid, vivid purple. Relative luminance 0.201; OKLCH L 60.5% C 0.147 H 333.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B45CA7
RGBrgb(180, 92, 167)
HSLhsl(309, 37%, 53%)
HSVhsv(309, 49%, 71%)
CMYKcmyk(0%, 48.9%, 7.2%, 29.4%)
CIE-LABlab(52.01, 45.88, -24.64)
CIE-LCHlch(52.01, 52.08, 331.76°)
OKLaboklab(60.5% 0.1314 -0.0669)
OKLCHoklch(60.5% 0.147 333)
XYZxyz(29.6245, 20.1495, 38.8806)
Luminance0.2015 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45CA7 #5CB469
analogous
#955CB4 #B45CA7 #B45C7B
triadic
#B45CA7 #A7B45C #5CA7B4
tetradic
#B45CA7 #B4955C #5CB469 #5C7BB4
square
#B45CA7 #B4955C #5CB469 #5C7BB4
split-complementary
#B45CA7 #7BB45C #5CB495
monochromatic
#662F5E #904285 #B45CA7 #C786BE #DBB0D4

Accessibility & contrast

On white

4.18
#B45CA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#B45CA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45CA7
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45CA7#FFFFFF#000000##000000
##B45CA71.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A74AA
Deuteranopia (green-blind)
#7381A4
Tritanopia (blue-blind)
#BB627A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b45ca7;
/* rgb */ color: rgb(180, 92, 167);
/* oklch */ color: oklch(60.5% 0.147 333.0);
Tailwind
colors: {
  custom: {
    50: '#cc8dc1',
    500: '#b45ca7',
    950: '#000000',
  },
}
SCSS
$custom: #b45ca7;
$custom-light: #cc8dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#b45ca7",
  "rgb": {
    "r": 180,
    "g": 92,
    "b": 167
  },
  "hsl": {
    "h": 308.864,
    "s": 36.975,
    "l": 53.333
  },
  "oklch": {
    "l": 0.605,
    "c": 0.14747,
    "h": 333
  },
  "luminance": 0.20148
}

Semantic roles & 50–950 ramp

primary
#B45CA7
secondary
#A3C9A9
accent
#CD6C5B
background
#FCF8FB
surface
#F9F0F7
border
#D2CBD0
text
#140C12
muted
#827D81

Preview Lab

Preview with #B45CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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