#B45EAF#B45EAF

#B45EAF is a mid, vivid purple. Relative luminance 0.208; OKLCH L 61.2% C 0.151 H 329.4°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#B45EAF
RGBrgb(180, 94, 175)
HSLhsl(303, 36%, 54%)
HSVhsv(303, 48%, 71%)
CMYKcmyk(0%, 47.8%, 2.8%, 29.4%)
CIE-LABlab(52.74, 46.27, -28.17)
CIE-LCHlch(52.74, 54.17, 328.66°)
OKLaboklab(61.15% 0.1301 -0.0769)
OKLCHoklch(61.15% 0.151 329.4)
XYZxyz(30.5626, 20.8056, 42.9552)
Luminance0.2080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45EAF #5EB463
analogous
#8E5EB4 #B45EAF #B45E84
triadic
#B45EAF #AFB45E #5EAFB4
tetradic
#B45EAF #B48E5E #5EB463 #5E84B4
square
#B45EAF #B48E5E #5EB463 #5E84B4
split-complementary
#B45EAF #84B45E #5EB48E
monochromatic
#673064 #91448D #B45EAF #C788C4 #DBB1D8

Accessibility & contrast

On white

4.07
#B45EAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#B45EAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45EAF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45EAF#FFFFFF#000000##000000
##B45EAF1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5976B2
Deuteranopia (green-blind)
#7182AC
Tritanopia (blue-blind)
#B9667E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b45eaf;
/* rgb */ color: rgb(180, 94, 175);
/* oklch */ color: oklch(61.2% 0.151 329.4);
Tailwind
colors: {
  custom: {
    50: '#cc8fc7',
    500: '#b45eaf',
    950: '#000000',
  },
}
SCSS
$custom: #b45eaf;
$custom-light: #cc8fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#b45eaf",
  "rgb": {
    "r": 180,
    "g": 94,
    "b": 175
  },
  "hsl": {
    "h": 303.488,
    "s": 36.441,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61154,
    "c": 0.15117,
    "h": 329.4
  },
  "luminance": 0.20804
}

Semantic roles & 50–950 ramp

primary
#B45EAF
secondary
#A5C9A7
accent
#CC625B
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140D13
muted
#827D82

Preview Lab

Preview with #B45EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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