#B045AF#B045AF

#B045AF is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.4% C 0.188 H 328.1°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B045AF
RGBrgb(176, 69, 175)
HSLhsl(301, 44%, 48%)
HSVhsv(301, 61%, 69%)
CMYKcmyk(0%, 60.8%, 0.6%, 31%)
CIE-LABlab(47.73, 57.08, -36.04)
CIE-LCHlch(47.73, 67.50, 327.73°)
OKLaboklab(57.36% 0.1594 -0.0994)
OKLCHoklch(57.36% 0.188 328.1)
XYZxyz(27.7701, 16.5833, 42.2873)
Luminance0.1658 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B045AF #45B046
analogous
#7B45B0 #B045AF #B04579
triadic
#B045AF #AFB045 #45AFB0
tetradic
#B045AF #B07B45 #45B046 #4579B0
square
#B045AF #B07B45 #45B046 #4579B0
split-complementary
#B045AF #79B045 #45B07B
monochromatic
#582358 #843483 #B045AF #C66DC5 #D799D6

Accessibility & contrast

On white

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

On black

4.32
#B045AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B045AF#FFFFFF#000000##FFFFFF
##B045AF1.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3968B2
Deuteranopia (green-blind)
#5E76AC
Tritanopia (blue-blind)
#B55274
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #b045af;
/* rgb */ color: rgb(176, 69, 175);
/* oklch */ color: oklch(57.4% 0.188 328.1);
Tailwind
colors: {
  custom: {
    50: '#ca80c7',
    500: '#b045af',
    950: '#000000',
  },
}
SCSS
$custom: #b045af;
$custom-light: #ca80c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b045af",
  "rgb": {
    "r": 176,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 300.561,
    "s": 43.673,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57358,
    "c": 0.1878,
    "h": 328.1
  },
  "luminance": 0.16581
}

Semantic roles & 50–950 ramp

primary
#B045AF
secondary
#8EC38E
accent
#D35654
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B045AF

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

Preview Lab → · Contrast checker → · Palette generator →

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