#B45FAF#B45FAF

#B45FAF is a mid, vivid purple. Relative luminance 0.210; OKLCH L 61.3% C 0.149 H 329.4°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#B45FAF
RGBrgb(180, 95, 175)
HSLhsl(304, 36%, 54%)
HSVhsv(304, 47%, 71%)
CMYKcmyk(0%, 47.2%, 2.8%, 29.4%)
CIE-LABlab(52.93, 45.76, -27.87)
CIE-LCHlch(52.93, 53.58, 328.66°)
OKLaboklab(61.3% 0.1287 -0.0761)
OKLCHoklch(61.3% 0.149 329.4)
XYZxyz(30.6521, 20.9846, 42.9850)
Luminance0.2098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45FAF #5FB464
analogous
#8F5FB4 #B45FAF #B45F85
triadic
#B45FAF #AFB45F #5FAFB4
tetradic
#B45FAF #B48F5F #5FB464 #5F85B4
square
#B45FAF #B48F5F #5FB464 #5F85B4
split-complementary
#B45FAF #85B45F #5FB48F
monochromatic
#683165 #92448D #B45FAF #C889C4 #DBB2D9

Accessibility & contrast

On white

4.04
#B45FAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#B45FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45FAF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45FAF#FFFFFF#000000##000000
##B45FAF1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A77B2
Deuteranopia (green-blind)
#7283AC
Tritanopia (blue-blind)
#B9667F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b45faf;
/* rgb */ color: rgb(180, 95, 175);
/* oklch */ color: oklch(61.3% 0.149 329.4);
Tailwind
colors: {
  custom: {
    50: '#cc8fc7',
    500: '#b45faf',
    950: '#000000',
  },
}
SCSS
$custom: #b45faf;
$custom-light: #cc8fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#b45faf",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 175
  },
  "hsl": {
    "h": 303.529,
    "s": 36.17,
    "l": 53.922
  },
  "oklch": {
    "l": 0.613,
    "c": 0.14947,
    "h": 329.4
  },
  "luminance": 0.20983
}

Semantic roles & 50–950 ramp

primary
#B45FAF
secondary
#A5CAA7
accent
#CC625C
background
#FCF9FC
surface
#F9F1F8
border
#D2CBD1
text
#140D13
muted
#827E82

Preview Lab

Preview with #B45FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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