#B752B7#B752B7

#B752B7 is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.3% C 0.180 H 327.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#B752B7
RGBrgb(183, 82, 183)
HSLhsl(300, 41%, 52%)
HSVhsv(300, 55%, 72%)
CMYKcmyk(0%, 55.2%, 0%, 28.2%)
CIE-LABlab(51.29, 54.46, -35.04)
CIE-LCHlch(51.29, 64.76, 327.24°)
OKLaboklab(60.29% 0.1515 -0.0964)
OKLCHoklch(60.29% 0.18 327.5)
XYZxyz(31.0925, 19.5226, 46.9211)
Luminance0.1952 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B752B7 #52B752
analogous
#8552B7 #B752B7 #B75285
triadic
#B752B7 #B7B752 #52B7B7
tetradic
#B752B7 #B78552 #52B752 #5285B7
square
#B752B7 #B78552 #52B752 #5285B7
split-complementary
#B752B7 #85B752 #52B785
monochromatic
#652A65 #903C90 #B752B7 #C97DC9 #DBA8DB

Accessibility & contrast

On white

4.28
#B752B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#B752B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B752B7
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B752B7#FFFFFF#000000##000000
##B752B71.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4872BA
Deuteranopia (green-blind)
#687FB4
Tritanopia (blue-blind)
#BC5E7D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b752b7;
/* rgb */ color: rgb(183, 82, 183);
/* oklch */ color: oklch(60.3% 0.180 327.5);
Tailwind
colors: {
  custom: {
    50: '#cf88cd',
    500: '#b752b7',
    950: '#000000',
  },
}
SCSS
$custom: #b752b7;
$custom-light: #cf88cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b752b7",
  "rgb": {
    "r": 183,
    "g": 82,
    "b": 183
  },
  "hsl": {
    "h": 300,
    "s": 41.224,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60293,
    "c": 0.1796,
    "h": 327.5
  },
  "luminance": 0.19521
}

Semantic roles & 50–950 ramp

primary
#B752B7
secondary
#9CC99C
accent
#D15757
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C13
muted
#837D82

Preview Lab

Preview with #B752B7

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

Preview Lab → · Contrast checker → · Palette generator →

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