#B752CA#B752CA

#B752CA is a mid, vivid purple. Relative luminance 0.204; OKLCH L 61.3% C 0.197 H 321.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#B752CA
RGBrgb(183, 82, 202)
HSLhsl(291, 53%, 56%)
HSVhsv(291, 59%, 79%)
CMYKcmyk(9.4%, 59.4%, 0%, 20.8%)
CIE-LABlab(52.25, 57.97, -44.50)
CIE-LCHlch(52.25, 73.08, 322.49°)
OKLaboklab(61.3% 0.1531 -0.1238)
OKLCHoklch(61.3% 0.197 321)
XYZxyz(33.2052, 20.3677, 58.0480)
Luminance0.2037 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B752CA #65CA52
analogous
#7B52CA #B752CA #CA52A1
triadic
#B752CA #CAB752 #52CAB7
tetradic
#B752CA #CA7B52 #65CA52 #52A1CA
square
#B752CA #CA7B52 #65CA52 #52A1CA
split-complementary
#B752CA #A1CA52 #52CA7B
monochromatic
#6E267C #9834AB #B752CA #CA81D8 #DEB0E7

Accessibility & contrast

On white

4.14
#B752CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#B752CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B752CA
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B752CA#FFFFFF#000000##000000
##B752CA1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3875CE
Deuteranopia (green-blind)
#5E80C7
Tritanopia (blue-blind)
#B96486
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b752ca;
/* rgb */ color: rgb(183, 82, 202);
/* oklch */ color: oklch(61.3% 0.197 321.0);
Tailwind
colors: {
  custom: {
    50: '#cf88da',
    500: '#b752ca',
    950: '#000000',
  },
}
SCSS
$custom: #b752ca;
$custom-light: #cf88da;
$custom-dark: #000000;
JSON
{
  "hex": "#b752ca",
  "rgb": {
    "r": 183,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 290.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61304,
    "c": 0.1969,
    "h": 321
  },
  "luminance": 0.20366
}

Semantic roles & 50–950 ramp

primary
#B752CA
secondary
#ABD5A3
accent
#DD4B62
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B752CA

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

Preview Lab → · Contrast checker → · Palette generator →

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