#B752A7#B752A7

#B752A7 is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.5% C 0.166 H 333.9°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B752A7
RGBrgb(183, 82, 167)
HSLhsl(310, 41%, 52%)
HSVhsv(310, 55%, 72%)
CMYKcmyk(0%, 55.2%, 8.7%, 28.2%)
CIE-LABlab(50.56, 51.70, -26.84)
CIE-LCHlch(50.56, 58.25, 332.57°)
OKLaboklab(59.52% 0.1491 -0.073)
OKLCHoklch(59.52% 0.166 333.9)
XYZxyz(29.5208, 18.8940, 38.6438)
Luminance0.1889 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B752A7 #52B762
analogous
#9552B7 #B752A7 #B75275
triadic
#B752A7 #A7B752 #52A7B7
tetradic
#B752A7 #B79552 #52B762 #5275B7
square
#B752A7 #B79552 #52B762 #5275B7
split-complementary
#B752A7 #75B752 #52B795
monochromatic
#652A5B #903C83 #B752A7 #C97DBD #DBA8D3

Accessibility & contrast

On white

4.39
#B752A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#B752A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B752A7
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B752A7#FFFFFF#000000##000000
##B752A71.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#516FAA
Deuteranopia (green-blind)
#6F7EA4
Tritanopia (blue-blind)
#BF5875
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b752a7;
/* rgb */ color: rgb(183, 82, 167);
/* oklch */ color: oklch(59.5% 0.166 333.9);
Tailwind
colors: {
  custom: {
    50: '#cf87c1',
    500: '#b752a7',
    950: '#000000',
  },
}
SCSS
$custom: #b752a7;
$custom-light: #cf87c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b752a7",
  "rgb": {
    "r": 183,
    "g": 82,
    "b": 167
  },
  "hsl": {
    "h": 309.505,
    "s": 41.224,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59518,
    "c": 0.166,
    "h": 333.9
  },
  "luminance": 0.18892
}

Semantic roles & 50–950 ramp

primary
#B752A7
secondary
#9CC9A3
accent
#D16A57
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140C12
muted
#837D81

Preview Lab

Preview with #B752A7

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

Preview Lab → · Contrast checker → · Palette generator →

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