#B45FBD#B45FBD

#B45FBD is a mid, vivid purple. Relative luminance 0.216; OKLCH L 62.0% C 0.163 H 323.6°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B45FBD
RGBrgb(180, 95, 189)
HSLhsl(294, 42%, 56%)
HSVhsv(294, 50%, 74%)
CMYKcmyk(4.8%, 49.7%, 0%, 25.9%)
CIE-LABlab(53.56, 48.36, -34.99)
CIE-LCHlch(53.56, 59.69, 324.12°)
OKLaboklab(61.97% 0.1311 -0.0965)
OKLCHoklch(61.97% 0.163 323.6)
XYZxyz(32.0990, 21.5633, 50.6056)
Luminance0.2156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45FBD #68BD5F
analogous
#855FBD #B45FBD #BD5F97
triadic
#B45FBD #BDB45F #5FBDB4
tetradic
#B45FBD #BD855F #68BD5F #5F97BD
square
#B45FBD #BD855F #68BD5F #5F97BD
split-complementary
#B45FBD #97BD5F #5FBD85
monochromatic
#6C2F72 #95419E #B45FBD #C88ACF #DDB6E1

Accessibility & contrast

On white

3.95
#B45FBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#B45FBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45FBD
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45FBD#FFFFFF#000000##000000
##B45FBD1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5379C0
Deuteranopia (green-blind)
#6C84BA
Tritanopia (blue-blind)
#B76B85
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b45fbd;
/* rgb */ color: rgb(180, 95, 189);
/* oklch */ color: oklch(62.0% 0.163 323.6);
Tailwind
colors: {
  custom: {
    50: '#cc8fd1',
    500: '#b45fbd',
    950: '#000000',
  },
}
SCSS
$custom: #b45fbd;
$custom-light: #cc8fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#b45fbd",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 189
  },
  "hsl": {
    "h": 294.255,
    "s": 41.593,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61971,
    "c": 0.16274,
    "h": 323.6
  },
  "luminance": 0.21562
}

Semantic roles & 50–950 ramp

primary
#B45FBD
secondary
#ACCFA8
accent
#D15662
background
#FCF9FC
surface
#F9F1F9
border
#D2CBD2
text
#140D14
muted
#827E82

Preview Lab

Preview with #B45FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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