#B045AE#B045AE

#B045AE is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.3% C 0.187 H 328.4°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B045AE
RGBrgb(176, 69, 174)
HSLhsl(301, 44%, 48%)
HSVhsv(301, 61%, 69%)
CMYKcmyk(0%, 60.8%, 1.1%, 31%)
CIE-LABlab(47.68, 56.90, -35.53)
CIE-LCHlch(47.68, 67.09, 328.02°)
OKLaboklab(57.3% 0.1593 -0.0979)
OKLCHoklch(57.3% 0.187 328.4)
XYZxyz(27.6723, 16.5442, 41.7720)
Luminance0.1654 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B045AE #45B047
analogous
#7C45B0 #B045AE #B04579
triadic
#B045AE #AEB045 #45AEB0
tetradic
#B045AE #B07C45 #45B047 #4579B0
square
#B045AE #B07C45 #45B047 #4579B0
split-complementary
#B045AE #79B045 #45B07C
monochromatic
#582357 #843483 #B045AE #C66DC4 #D799D6

Accessibility & contrast

On white

4.87
#B045AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#B045AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B045AE
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B045AE#FFFFFF#000000##FFFFFF
##B045AE1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A68B1
Deuteranopia (green-blind)
#5F76AB
Tritanopia (blue-blind)
#B55273
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b045ae;
/* rgb */ color: rgb(176, 69, 174);
/* oklch */ color: oklch(57.3% 0.187 328.4);
Tailwind
colors: {
  custom: {
    50: '#ca80c6',
    500: '#b045ae',
    950: '#000000',
  },
}
SCSS
$custom: #b045ae;
$custom-light: #ca80c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b045ae",
  "rgb": {
    "r": 176,
    "g": 69,
    "b": 174
  },
  "hsl": {
    "h": 301.121,
    "s": 43.673,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57305,
    "c": 0.18695,
    "h": 328.4
  },
  "luminance": 0.16542
}

Semantic roles & 50–950 ramp

primary
#B045AE
secondary
#8EC38F
accent
#D35754
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B045AE

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

Preview Lab → · Contrast checker → · Palette generator →

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