#B752C4#B752C4

#B752C4 is a mid, vivid purple. Relative luminance 0.201; OKLCH L 61.0% C 0.191 H 323.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B752C4
RGBrgb(183, 82, 196)
HSLhsl(293, 49%, 55%)
HSVhsv(293, 58%, 77%)
CMYKcmyk(6.6%, 58.2%, 0%, 23.1%)
CIE-LABlab(51.94, 56.83, -41.55)
CIE-LCHlch(51.94, 70.40, 323.83°)
OKLaboklab(60.98% 0.1527 -0.1152)
OKLCHoklch(60.98% 0.191 323)
XYZxyz(32.5086, 20.0891, 54.3791)
Luminance0.2009 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B752C4 #5FC452
analogous
#7E52C4 #B752C4 #C45298
triadic
#B752C4 #C4B752 #52C4B7
tetradic
#B752C4 #C47E52 #5FC452 #5298C4
square
#B752C4 #C47E52 #5FC452 #5298C4
split-complementary
#B752C4 #98C452 #52C47E
monochromatic
#6B2874 #9637A2 #B752C4 #CA80D4 #DDADE3

Accessibility & contrast

On white

4.19
#B752C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#B752C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B752C4
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B752C4#FFFFFF#000000##000000
##B752C41.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E74C8
Deuteranopia (green-blind)
#6180C1
Tritanopia (blue-blind)
#BA6283
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b752c4;
/* rgb */ color: rgb(183, 82, 196);
/* oklch */ color: oklch(61.0% 0.191 323.0);
Tailwind
colors: {
  custom: {
    50: '#cf88d6',
    500: '#b752c4',
    950: '#000000',
  },
}
SCSS
$custom: #b752c4;
$custom-light: #cf88d6;
$custom-dark: #000000;
JSON
{
  "hex": "#b752c4",
  "rgb": {
    "r": 183,
    "g": 82,
    "b": 196
  },
  "hsl": {
    "h": 293.158,
    "s": 49.138,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60975,
    "c": 0.19134,
    "h": 323
  },
  "luminance": 0.20087
}

Semantic roles & 50–950 ramp

primary
#B752C4
secondary
#A6D1A1
accent
#D94F5F
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #B752C4

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

Preview Lab → · Contrast checker → · Palette generator →

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