#B45EAA#B45EAA

#B45EAA is a mid, vivid purple. Relative luminance 0.206; OKLCH L 60.9% C 0.147 H 331.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B45EAA
RGBrgb(180, 94, 170)
HSLhsl(307, 36%, 54%)
HSVhsv(307, 48%, 71%)
CMYKcmyk(0%, 47.8%, 5.6%, 29.4%)
CIE-LABlab(52.52, 45.38, -25.59)
CIE-LCHlch(52.52, 52.10, 330.58°)
OKLaboklab(60.93% 0.1291 -0.0696)
OKLCHoklch(60.93% 0.147 331.7)
XYZxyz(30.0806, 20.6128, 40.4167)
Luminance0.2061 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45EAA #5EB468
analogous
#935EB4 #B45EAA #B45E7F
triadic
#B45EAA #AAB45E #5EAAB4
tetradic
#B45EAA #B4935E #5EB468 #5E7FB4
square
#B45EAA #B4935E #5EB468 #5E7FB4
split-complementary
#B45EAA #7FB45E #5EB493
monochromatic
#673061 #914488 #B45EAA #C788C0 #DBB1D6

Accessibility & contrast

On white

4.10
#B45EAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#B45EAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45EAA
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45EAA#FFFFFF#000000##000000
##B45EAA1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B76AD
Deuteranopia (green-blind)
#7382A7
Tritanopia (blue-blind)
#BA647C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b45eaa;
/* rgb */ color: rgb(180, 94, 170);
/* oklch */ color: oklch(60.9% 0.147 331.7);
Tailwind
colors: {
  custom: {
    50: '#cc8fc3',
    500: '#b45eaa',
    950: '#000000',
  },
}
SCSS
$custom: #b45eaa;
$custom-light: #cc8fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#b45eaa",
  "rgb": {
    "r": 180,
    "g": 94,
    "b": 170
  },
  "hsl": {
    "h": 306.977,
    "s": 36.441,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60926,
    "c": 0.14668,
    "h": 331.7
  },
  "luminance": 0.20611
}

Semantic roles & 50–950 ramp

primary
#B45EAA
secondary
#A5C9A9
accent
#CC695B
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#140D12
muted
#827D81

Preview Lab

Preview with #B45EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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