#B752C7#B752C7

#B752C7 is a mid, vivid purple. Relative luminance 0.202; OKLCH L 61.1% C 0.194 H 322.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B752C7
RGBrgb(183, 82, 199)
HSLhsl(292, 51%, 55%)
HSVhsv(292, 59%, 78%)
CMYKcmyk(8%, 58.8%, 0%, 22%)
CIE-LABlab(52.09, 57.40, -43.03)
CIE-LCHlch(52.09, 71.73, 323.14°)
OKLaboklab(61.14% 0.1529 -0.1195)
OKLCHoklch(61.14% 0.194 322)
XYZxyz(32.8534, 20.2270, 56.1954)
Luminance0.2023 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B752C7 #62C752
analogous
#7D52C7 #B752C7 #C7529C
triadic
#B752C7 #C7B752 #52C7B7
tetradic
#B752C7 #C77D52 #62C752 #529CC7
square
#B752C7 #C77D52 #62C752 #529CC7
split-complementary
#B752C7 #9CC752 #52C77D
monochromatic
#6D2778 #9736A6 #B752C7 #CA80D6 #DDAEE5

Accessibility & contrast

On white

4.16
#B752C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#B752C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B752C7
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B752C7#FFFFFF#000000##000000
##B752C71.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B75CB
Deuteranopia (green-blind)
#6080C4
Tritanopia (blue-blind)
#B96385
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b752c7;
/* rgb */ color: rgb(183, 82, 199);
/* oklch */ color: oklch(61.1% 0.194 322.0);
Tailwind
colors: {
  custom: {
    50: '#cf88d8',
    500: '#b752c7',
    950: '#000000',
  },
}
SCSS
$custom: #b752c7;
$custom-light: #cf88d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b752c7",
  "rgb": {
    "r": 183,
    "g": 82,
    "b": 199
  },
  "hsl": {
    "h": 291.795,
    "s": 51.092,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61138,
    "c": 0.1941,
    "h": 322
  },
  "luminance": 0.20225
}

Semantic roles & 50–950 ramp

primary
#B752C7
secondary
#A9D3A2
accent
#DB4D61
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #B752C7

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

Preview Lab → · Contrast checker → · Palette generator →

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