#B752C1#B752C1

#B752C1 is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.8% C 0.189 H 324.0°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#B752C1
RGBrgb(183, 82, 193)
HSLhsl(295, 47%, 54%)
HSVhsv(295, 58%, 76%)
CMYKcmyk(5.2%, 57.5%, 0%, 24.3%)
CIE-LABlab(51.78, 56.28, -40.06)
CIE-LCHlch(51.78, 69.08, 324.56°)
OKLaboklab(60.81% 0.1525 -0.1109)
OKLCHoklch(60.81% 0.189 324)
XYZxyz(32.1705, 19.9538, 52.5987)
Luminance0.1995 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B752C1 #5CC152
analogous
#8052C1 #B752C1 #C15294
triadic
#B752C1 #C1B752 #52C1B7
tetradic
#B752C1 #C18052 #5CC152 #5294C1
square
#B752C1 #C18052 #5CC152 #5294C1
split-complementary
#B752C1 #94C152 #52C180
monochromatic
#6A2870 #94389D #B752C1 #CA7FD1 #DDACE1

Accessibility & contrast

On white

4.21
#B752C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#B752C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B752C1
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B752C1#FFFFFF#000000##000000
##B752C11.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4074C4
Deuteranopia (green-blind)
#6380BE
Tritanopia (blue-blind)
#BA6182
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b752c1;
/* rgb */ color: rgb(183, 82, 193);
/* oklch */ color: oklch(60.8% 0.189 324.0);
Tailwind
colors: {
  custom: {
    50: '#cf88d4',
    500: '#b752c1',
    950: '#000000',
  },
}
SCSS
$custom: #b752c1;
$custom-light: #cf88d4;
$custom-dark: #000000;
JSON
{
  "hex": "#b752c1",
  "rgb": {
    "r": 183,
    "g": 82,
    "b": 193
  },
  "hsl": {
    "h": 294.595,
    "s": 47.234,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60813,
    "c": 0.18859,
    "h": 324
  },
  "luminance": 0.19952
}

Semantic roles & 50–950 ramp

primary
#B752C1
secondary
#A4CFA0
accent
#D7515D
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #B752C1

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

Preview Lab → · Contrast checker → · Palette generator →

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