#B45FBA#B45FBA

#B45FBA is a mid, vivid purple. Relative luminance 0.214; OKLCH L 61.8% C 0.160 H 324.8°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B45FBA
RGBrgb(180, 95, 186)
HSLhsl(296, 40%, 55%)
HSVhsv(296, 49%, 73%)
CMYKcmyk(3.2%, 48.9%, 0%, 27.1%)
CIE-LABlab(53.42, 47.79, -33.48)
CIE-LCHlch(53.42, 58.35, 324.99°)
OKLaboklab(61.82% 0.1306 -0.0921)
OKLCHoklch(61.82% 0.16 324.8)
XYZxyz(31.7768, 21.4344, 48.9083)
Luminance0.2143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45FBA #65BA5F
analogous
#865FBA #B45FBA #BA5F92
triadic
#B45FBA #BAB45F #5FBAB4
tetradic
#B45FBA #BA865F #65BA5F #5F92BA
square
#B45FBA #BA865F #65BA5F #5F92BA
split-complementary
#B45FBA #92BA5F #5FBA86
monochromatic
#6B306F #94429A #B45FBA #C88ACC #DCB5DF

Accessibility & contrast

On white

3.97
#B45FBA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#B45FBA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45FBA
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45FBA#FFFFFF#000000##000000
##B45FBA1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5479BD
Deuteranopia (green-blind)
#6D83B7
Tritanopia (blue-blind)
#B86A84
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b45fba;
/* rgb */ color: rgb(180, 95, 186);
/* oklch */ color: oklch(61.8% 0.160 324.8);
Tailwind
colors: {
  custom: {
    50: '#cc8fcf',
    500: '#b45fba',
    950: '#000000',
  },
}
SCSS
$custom: #b45fba;
$custom-light: #cc8fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#b45fba",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 186
  },
  "hsl": {
    "h": 296.044,
    "s": 39.738,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61823,
    "c": 0.15982,
    "h": 324.8
  },
  "luminance": 0.21433
}

Semantic roles & 50–950 ramp

primary
#B45FBA
secondary
#AACDA7
accent
#D05860
background
#FCF9FC
surface
#F9F1F9
border
#D2CBD2
text
#140D14
muted
#827E82

Preview Lab

Preview with #B45FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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