#B752BA#B752BA

#B752BA is a mid, vivid purple. Relative luminance 0.196; OKLCH L 60.4% C 0.182 H 326.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#B752BA
RGBrgb(183, 82, 186)
HSLhsl(298, 43%, 53%)
HSVhsv(298, 56%, 73%)
CMYKcmyk(1.6%, 55.9%, 0%, 27.1%)
CIE-LABlab(51.44, 55.00, -36.56)
CIE-LCHlch(51.44, 66.04, 326.39°)
OKLaboklab(60.45% 0.1518 -0.1008)
OKLCHoklch(60.45% 0.182 326.4)
XYZxyz(31.4081, 19.6489, 48.5831)
Luminance0.1965 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B752BA #55BA52
analogous
#8352BA #B752BA #BA5289
triadic
#B752BA #BAB752 #52BAB7
tetradic
#B752BA #BA8352 #55BA52 #5289BA
square
#B752BA #BA8352 #55BA52 #5289BA
split-complementary
#B752BA #89BA52 #52BA83
monochromatic
#662A68 #913B94 #B752BA #C97ECB #DBAADD

Accessibility & contrast

On white

4.26
#B752BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#B752BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B752BA
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B752BA#FFFFFF#000000##000000
##B752BA1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4572BD
Deuteranopia (green-blind)
#677FB7
Tritanopia (blue-blind)
#BC5F7E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b752ba;
/* rgb */ color: rgb(183, 82, 186);
/* oklch */ color: oklch(60.4% 0.182 326.4);
Tailwind
colors: {
  custom: {
    50: '#cf88cf',
    500: '#b752ba',
    950: '#000000',
  },
}
SCSS
$custom: #b752ba;
$custom-light: #cf88cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b752ba",
  "rgb": {
    "r": 183,
    "g": 82,
    "b": 186
  },
  "hsl": {
    "h": 298.269,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60447,
    "c": 0.18226,
    "h": 326.4
  },
  "luminance": 0.19647
}

Semantic roles & 50–950 ramp

primary
#B752BA
secondary
#9FCA9D
accent
#D35559
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #B752BA

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

Preview Lab → · Contrast checker → · Palette generator →

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