#B045AD#B045AD

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

Color values

HEX#B045AD
RGBrgb(176, 69, 173)
HSLhsl(302, 44%, 48%)
HSVhsv(302, 61%, 69%)
CMYKcmyk(0%, 60.8%, 1.7%, 31%)
CIE-LABlab(47.63, 56.73, -35.02)
CIE-LCHlch(47.63, 66.67, 328.31°)
OKLaboklab(57.25% 0.1592 -0.0964)
OKLCHoklch(57.25% 0.186 328.8)
XYZxyz(27.5751, 16.5053, 41.2605)
Luminance0.1650 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B045AD #45B048
analogous
#7D45B0 #B045AD #B04577
triadic
#B045AD #ADB045 #45ADB0
tetradic
#B045AD #B07D45 #45B048 #4577B0
square
#B045AD #B07D45 #45B048 #4577B0
split-complementary
#B045AD #77B045 #45B07D
monochromatic
#582357 #843482 #B045AD #C66DC3 #D799D5

Accessibility & contrast

On white

4.88
#B045AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#B045AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B045AD
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B045AD#FFFFFF#000000##FFFFFF
##B045AD1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B68B0
Deuteranopia (green-blind)
#5F76AA
Tritanopia (blue-blind)
#B65173
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b045ad;
/* rgb */ color: rgb(176, 69, 173);
/* oklch */ color: oklch(57.3% 0.186 328.8);
Tailwind
colors: {
  custom: {
    50: '#ca80c6',
    500: '#b045ad',
    950: '#000000',
  },
}
SCSS
$custom: #b045ad;
$custom-light: #ca80c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b045ad",
  "rgb": {
    "r": 176,
    "g": 69,
    "b": 173
  },
  "hsl": {
    "h": 301.682,
    "s": 43.673,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57252,
    "c": 0.18611,
    "h": 328.8
  },
  "luminance": 0.16503
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B045AD

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

Preview Lab → · Contrast checker → · Palette generator →

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