#B752D2#B752D2

#B752D2 is a mid, highly saturated purple. Relative luminance 0.208; OKLCH L 61.8% C 0.204 H 318.6°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B752D2
RGBrgb(183, 82, 210)
HSLhsl(287, 59%, 57%)
HSVhsv(287, 61%, 82%)
CMYKcmyk(12.9%, 61%, 0%, 17.6%)
CIE-LABlab(52.68, 59.51, -48.39)
CIE-LCHlch(52.68, 76.70, 320.89°)
OKLaboklab(61.76% 0.1534 -0.1351)
OKLCHoklch(61.76% 0.204 318.6)
XYZxyz(34.1770, 20.7564, 63.1664)
Luminance0.2076 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B752D2 #6DD252
analogous
#7752D2 #B752D2 #D252AD
triadic
#B752D2 #D2B752 #52D2B7
tetradic
#B752D2 #D27752 #6DD252 #52ADD2
square
#B752D2 #D27752 #6DD252 #52ADD2
split-complementary
#B752D2 #ADD252 #52D277
monochromatic
#722387 #9B30B7 #B752D2 #CB83DF #DFB3EB

Accessibility & contrast

On white

4.08
#B752D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#B752D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B752D2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B752D2#FFFFFF#000000##000000
##B752D21.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F77D6
Deuteranopia (green-blind)
#5981CF
Tritanopia (blue-blind)
#B7678B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b752d2;
/* rgb */ color: rgb(183, 82, 210);
/* oklch */ color: oklch(61.8% 0.204 318.6);
Tailwind
colors: {
  custom: {
    50: '#d088e0',
    500: '#b752d2',
    950: '#000000',
  },
}
SCSS
$custom: #b752d2;
$custom-light: #d088e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b752d2",
  "rgb": {
    "r": 183,
    "g": 82,
    "b": 210
  },
  "hsl": {
    "h": 287.344,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61757,
    "c": 0.20442,
    "h": 318.6
  },
  "luminance": 0.20755
}

Semantic roles & 50–950 ramp

primary
#B752D2
secondary
#B1DAA6
accent
#E24667
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B752D2

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

Preview Lab → · Contrast checker → · Palette generator →

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