#B45EA6#B45EA6

#B45EA6 is a mid, vivid purple. Relative luminance 0.205; OKLCH L 60.7% C 0.143 H 333.6°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#B45EA6
RGBrgb(180, 94, 166)
HSLhsl(310, 36%, 54%)
HSVhsv(310, 48%, 71%)
CMYKcmyk(0%, 47.8%, 7.8%, 29.4%)
CIE-LABlab(52.36, 44.68, -23.51)
CIE-LCHlch(52.36, 50.49, 332.24°)
OKLaboklab(60.75% 0.1283 -0.0637)
OKLCHoklch(60.75% 0.143 333.6)
XYZxyz(29.7080, 20.4637, 38.4541)
Luminance0.2046 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45EA6 #5EB46C
analogous
#975EB4 #B45EA6 #B45E7B
triadic
#B45EA6 #A6B45E #5EA6B4
tetradic
#B45EA6 #B4975E #5EB46C #5E7BB4
square
#B45EA6 #B4975E #5EB46C #5E7BB4
split-complementary
#B45EA6 #7BB45E #5EB497
monochromatic
#67305E #914485 #B45EA6 #C788BD #DBB1D4

Accessibility & contrast

On white

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

On black

5.09
#B45EA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45EA6
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45EA6#FFFFFF#000000##000000
##B45EA61.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D75A8
Deuteranopia (green-blind)
#7581A4
Tritanopia (blue-blind)
#BB637A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b45ea6;
/* rgb */ color: rgb(180, 94, 166);
/* oklch */ color: oklch(60.7% 0.143 333.6);
Tailwind
colors: {
  custom: {
    50: '#cc8ec0',
    500: '#b45ea6',
    950: '#000000',
  },
}
SCSS
$custom: #b45ea6;
$custom-light: #cc8ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#b45ea6",
  "rgb": {
    "r": 180,
    "g": 94,
    "b": 166
  },
  "hsl": {
    "h": 309.767,
    "s": 36.441,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60748,
    "c": 0.1432,
    "h": 333.6
  },
  "luminance": 0.20462
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B45EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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