#B752AF#B752AF

#B752AF is a mid, vivid purple. Relative luminance 0.192; OKLCH L 59.9% C 0.173 H 330.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B752AF
RGBrgb(183, 82, 175)
HSLhsl(305, 41%, 52%)
HSVhsv(305, 55%, 72%)
CMYKcmyk(0%, 55.2%, 4.4%, 28.2%)
CIE-LABlab(50.92, 53.06, -30.97)
CIE-LCHlch(50.92, 61.43, 329.73°)
OKLaboklab(59.9% 0.1504 -0.0848)
OKLCHoklch(59.9% 0.173 330.6)
XYZxyz(30.2834, 19.1990, 42.6599)
Luminance0.1920 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B752AF #52B75A
analogous
#8C52B7 #B752AF #B7527D
triadic
#B752AF #AFB752 #52AFB7
tetradic
#B752AF #B78C52 #52B75A #527DB7
square
#B752AF #B78C52 #52B75A #527DB7
split-complementary
#B752AF #7DB752 #52B78C
monochromatic
#652A60 #903C89 #B752AF #C97DC3 #DBA8D7

Accessibility & contrast

On white

4.34
#B752AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#B752AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B752AF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B752AF#FFFFFF#000000##000000
##B752AF1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C70B2
Deuteranopia (green-blind)
#6C7EAC
Tritanopia (blue-blind)
#BD5B79
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b752af;
/* rgb */ color: rgb(183, 82, 175);
/* oklch */ color: oklch(59.9% 0.173 330.6);
Tailwind
colors: {
  custom: {
    50: '#cf88c7',
    500: '#b752af',
    950: '#000000',
  },
}
SCSS
$custom: #b752af;
$custom-light: #cf88c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b752af",
  "rgb": {
    "r": 183,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 304.752,
    "s": 41.224,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59897,
    "c": 0.17265,
    "h": 330.6
  },
  "luminance": 0.19197
}

Semantic roles & 50–950 ramp

primary
#B752AF
secondary
#9CC9A0
accent
#D16057
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #B752AF

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

Preview Lab → · Contrast checker → · Palette generator →

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