#B45EA7#B45EA7

#B45EA7 is a mid, vivid purple. Relative luminance 0.205; OKLCH L 60.8% C 0.144 H 333.1°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#B45EA7
RGBrgb(180, 94, 167)
HSLhsl(309, 36%, 54%)
HSVhsv(309, 48%, 71%)
CMYKcmyk(0%, 47.8%, 7.2%, 29.4%)
CIE-LABlab(52.40, 44.85, -24.03)
CIE-LCHlch(52.40, 50.89, 331.82°)
OKLaboklab(60.79% 0.1285 -0.0652)
OKLCHoklch(60.79% 0.144 333.1)
XYZxyz(29.8000, 20.5006, 38.9391)
Luminance0.2050 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45EA7 #5EB46B
analogous
#965EB4 #B45EA7 #B45E7C
triadic
#B45EA7 #A7B45E #5EA7B4
tetradic
#B45EA7 #B4965E #5EB46B #5E7CB4
square
#B45EA7 #B4965E #5EB46B #5E7CB4
split-complementary
#B45EA7 #7CB45E #5EB496
monochromatic
#67305F #914485 #B45EA7 #C788BE #DBB1D5

Accessibility & contrast

On white

4.12
#B45EA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#B45EA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45EA7
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45EA7#FFFFFF#000000##000000
##B45EA71.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C75AA
Deuteranopia (green-blind)
#7482A5
Tritanopia (blue-blind)
#BB637B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b45ea7;
/* rgb */ color: rgb(180, 94, 167);
/* oklch */ color: oklch(60.8% 0.144 333.1);
Tailwind
colors: {
  custom: {
    50: '#cc8ec1',
    500: '#b45ea7',
    950: '#000000',
  },
}
SCSS
$custom: #b45ea7;
$custom-light: #cc8ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#b45ea7",
  "rgb": {
    "r": 180,
    "g": 94,
    "b": 167
  },
  "hsl": {
    "h": 309.07,
    "s": 36.441,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60792,
    "c": 0.14406,
    "h": 333.1
  },
  "luminance": 0.20499
}

Semantic roles & 50–950 ramp

primary
#B45EA7
secondary
#A5C9AA
accent
#CC6C5B
background
#FCF8FB
surface
#F9F0F7
border
#D2CBD0
text
#140C12
muted
#827D81

Preview Lab

Preview with #B45EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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