#B752BF#B752BF

#B752BF is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.7% C 0.187 H 324.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#B752BF
RGBrgb(183, 82, 191)
HSLhsl(296, 46%, 54%)
HSVhsv(296, 57%, 75%)
CMYKcmyk(4.2%, 57.1%, 0%, 25.1%)
CIE-LABlab(51.68, 55.91, -39.06)
CIE-LCHlch(51.68, 68.20, 325.06°)
OKLaboklab(60.71% 0.1523 -0.108)
OKLCHoklch(60.71% 0.187 324.7)
XYZxyz(31.9489, 19.8652, 51.4316)
Luminance0.1986 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B752BF #5ABF52
analogous
#8052BF #B752BF #BF5290
triadic
#B752BF #BFB752 #52BFB7
tetradic
#B752BF #BF8052 #5ABF52 #5290BF
square
#B752BF #BF8052 #5ABF52 #5290BF
split-complementary
#B752BF #90BF52 #52BF80
monochromatic
#69296E #93399B #B752BF #CA7FD0 #DCABE0

Accessibility & contrast

On white

4.22
#B752BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#B752BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B752BF
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B752BF#FFFFFF#000000##000000
##B752BF1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4273C2
Deuteranopia (green-blind)
#6480BC
Tritanopia (blue-blind)
#BB6181
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b752bf;
/* rgb */ color: rgb(183, 82, 191);
/* oklch */ color: oklch(60.7% 0.187 324.7);
Tailwind
colors: {
  custom: {
    50: '#cf88d3',
    500: '#b752bf',
    950: '#000000',
  },
}
SCSS
$custom: #b752bf;
$custom-light: #cf88d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b752bf",
  "rgb": {
    "r": 183,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 295.596,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60707,
    "c": 0.18676,
    "h": 324.7
  },
  "luminance": 0.19863
}

Semantic roles & 50–950 ramp

primary
#B752BF
secondary
#A2CE9F
accent
#D6525C
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #B752BF

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

Preview Lab → · Contrast checker → · Palette generator →

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