#B45FBC#B45FBC

#B45FBC is a mid, vivid purple. Relative luminance 0.215; OKLCH L 61.9% C 0.162 H 324.0°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#B45FBC
RGBrgb(180, 95, 188)
HSLhsl(295, 41%, 55%)
HSVhsv(295, 49%, 74%)
CMYKcmyk(4.3%, 49.5%, 0%, 26.3%)
CIE-LABlab(53.51, 48.17, -34.49)
CIE-LCHlch(53.51, 59.24, 324.40°)
OKLaboklab(61.92% 0.1309 -0.095)
OKLCHoklch(61.92% 0.162 324)
XYZxyz(31.9909, 21.5201, 50.0359)
Luminance0.2152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45FBC #67BC5F
analogous
#855FBC #B45FBC #BC5F95
triadic
#B45FBC #BCB45F #5FBCB4
tetradic
#B45FBC #BC855F #67BC5F #5F95BC
square
#B45FBC #BC855F #67BC5F #5F95BC
split-complementary
#B45FBC #95BC5F #5FBC85
monochromatic
#6C2F71 #95419C #B45FBC #C88ACE #DCB5E0

Accessibility & contrast

On white

3.96
#B45FBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#B45FBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45FBC
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45FBC#FFFFFF#000000##000000
##B45FBC1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5379BF
Deuteranopia (green-blind)
#6D83B9
Tritanopia (blue-blind)
#B76A85
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b45fbc;
/* rgb */ color: rgb(180, 95, 188);
/* oklch */ color: oklch(61.9% 0.162 324.0);
Tailwind
colors: {
  custom: {
    50: '#cc8fd0',
    500: '#b45fbc',
    950: '#000000',
  },
}
SCSS
$custom: #b45fbc;
$custom-light: #cc8fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#b45fbc",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 188
  },
  "hsl": {
    "h": 294.839,
    "s": 40.969,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61922,
    "c": 0.16176,
    "h": 324
  },
  "luminance": 0.21519
}

Semantic roles & 50–950 ramp

primary
#B45FBC
secondary
#ABCFA8
accent
#D15761
background
#FCF9FC
surface
#F9F1F9
border
#D2CBD2
text
#140D14
muted
#827E82

Preview Lab

Preview with #B45FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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