#B45FA8#B45FA8

#B45FA8 is a mid, vivid purple. Relative luminance 0.207; OKLCH L 61.0% C 0.143 H 332.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#B45FA8
RGBrgb(180, 95, 168)
HSLhsl(308, 36%, 54%)
HSVhsv(308, 47%, 71%)
CMYKcmyk(0%, 47.2%, 6.7%, 29.4%)
CIE-LABlab(52.64, 44.51, -24.25)
CIE-LCHlch(52.64, 50.69, 331.42°)
OKLaboklab(60.98% 0.1272 -0.0658)
OKLCHoklch(60.98% 0.143 332.6)
XYZxyz(29.9823, 20.7167, 39.4577)
Luminance0.2072 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45FA8 #5FB46B
analogous
#965FB4 #B45FA8 #B45F7E
triadic
#B45FA8 #A8B45F #5FA8B4
tetradic
#B45FA8 #B4965F #5FB46B #5F7EB4
square
#B45FA8 #B4965F #5FB46B #5F7EB4
split-complementary
#B45FA8 #7EB45F #5FB496
monochromatic
#683160 #924487 #B45FA8 #C889BF #DBB2D5

Accessibility & contrast

On white

4.08
#B45FA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#B45FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45FA8
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45FA8#FFFFFF#000000##000000
##B45FA81.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D76AB
Deuteranopia (green-blind)
#7582A6
Tritanopia (blue-blind)
#BB647C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b45fa8;
/* rgb */ color: rgb(180, 95, 168);
/* oklch */ color: oklch(61.0% 0.143 332.6);
Tailwind
colors: {
  custom: {
    50: '#cc8fc2',
    500: '#b45fa8',
    950: '#000000',
  },
}
SCSS
$custom: #b45fa8;
$custom-light: #cc8fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#b45fa8",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 168
  },
  "hsl": {
    "h": 308.471,
    "s": 36.17,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60984,
    "c": 0.14322,
    "h": 332.6
  },
  "luminance": 0.20715
}

Semantic roles & 50–950 ramp

primary
#B45FA8
secondary
#A5CAAA
accent
#CC6C5C
background
#FCF8FB
surface
#F9F0F7
border
#D2CBD0
text
#140D12
muted
#827D81

Preview Lab

Preview with #B45FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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