#B045B7#B045B7

#B045B7 is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.8% C 0.195 H 325.2°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B045B7
RGBrgb(176, 69, 183)
HSLhsl(296, 45%, 49%)
HSVhsv(296, 62%, 72%)
CMYKcmyk(3.8%, 62.3%, 0%, 28.2%)
CIE-LABlab(48.14, 58.49, -40.07)
CIE-LCHlch(48.14, 70.91, 325.59°)
OKLaboklab(57.79% 0.1599 -0.111)
OKLCHoklch(57.79% 0.195 325.2)
XYZxyz(28.5792, 16.9069, 46.5486)
Luminance0.1691 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B045B7 #4CB745
analogous
#7745B7 #B045B7 #B74585
triadic
#B045B7 #B7B045 #45B7B0
tetradic
#B045B7 #B77745 #4CB745 #4585B7
square
#B045B7 #B77745 #4CB745 #4585B7
split-complementary
#B045B7 #85B745 #45B777
monochromatic
#5B235E #85348B #B045B7 #C470C9 #D69DDA

Accessibility & contrast

On white

4.79
#B045B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#B045B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B045B7
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B045B7#FFFFFF#000000##FFFFFF
##B045B71.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326ABA
Deuteranopia (green-blind)
#5A77B4
Tritanopia (blue-blind)
#B45578
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b045b7;
/* rgb */ color: rgb(176, 69, 183);
/* oklch */ color: oklch(57.8% 0.195 325.2);
Tailwind
colors: {
  custom: {
    50: '#cb80cd',
    500: '#b045b7',
    950: '#000000',
  },
}
SCSS
$custom: #b045b7;
$custom-light: #cb80cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b045b7",
  "rgb": {
    "r": 176,
    "g": 69,
    "b": 183
  },
  "hsl": {
    "h": 296.316,
    "s": 45.238,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57791,
    "c": 0.19468,
    "h": 325.2
  },
  "luminance": 0.16905
}

Semantic roles & 50–950 ramp

primary
#B045B7
secondary
#95C692
accent
#D5535B
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B13
muted
#827C82

Preview Lab

Preview with #B045B7

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

Preview Lab → · Contrast checker → · Palette generator →

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