#B752D4#B752D4

#B752D4 is a mid, highly saturated purple. Relative luminance 0.209; OKLCH L 61.9% C 0.206 H 318.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#B752D4
RGBrgb(183, 82, 212)
HSLhsl(287, 60%, 58%)
HSVhsv(287, 61%, 83%)
CMYKcmyk(13.7%, 61.3%, 0%, 16.9%)
CIE-LABlab(52.79, 59.90, -49.35)
CIE-LCHlch(52.79, 77.61, 320.52°)
OKLaboklab(61.87% 0.1534 -0.1379)
OKLCHoklch(61.87% 0.206 318)
XYZxyz(34.4278, 20.8567, 64.4868)
Luminance0.2086 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B752D4 #6FD452
analogous
#7652D4 #B752D4 #D452B0
triadic
#B752D4 #D4B752 #52D4B7
tetradic
#B752D4 #D47652 #6FD452 #52B0D4
square
#B752D4 #D47652 #6FD452 #52B0D4
split-complementary
#B752D4 #B0D452 #52D476
monochromatic
#722289 #9B2EBA #B752D4 #CB83E0 #E0B4EC

Accessibility & contrast

On white

4.06
#B752D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#B752D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B752D4
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B752D4#FFFFFF#000000##000000
##B752D41.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D77D8
Deuteranopia (green-blind)
#5881D1
Tritanopia (blue-blind)
#B6688C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b752d4;
/* rgb */ color: rgb(183, 82, 212);
/* oklch */ color: oklch(61.9% 0.206 318.0);
Tailwind
colors: {
  custom: {
    50: '#d088e2',
    500: '#b752d4',
    950: '#000000',
  },
}
SCSS
$custom: #b752d4;
$custom-light: #d088e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b752d4",
  "rgb": {
    "r": 183,
    "g": 82,
    "b": 212
  },
  "hsl": {
    "h": 286.615,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61873,
    "c": 0.20631,
    "h": 318
  },
  "luminance": 0.20855
}

Semantic roles & 50–950 ramp

primary
#B752D4
secondary
#B2DBA7
accent
#E34468
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B752D4

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

Preview Lab → · Contrast checker → · Palette generator →

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