#B752CC#B752CC

#B752CC is a mid, vivid purple. Relative luminance 0.205; OKLCH L 61.4% C 0.199 H 320.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#B752CC
RGBrgb(183, 82, 204)
HSLhsl(290, 54%, 56%)
HSVhsv(290, 60%, 80%)
CMYKcmyk(10.3%, 59.8%, 0%, 20%)
CIE-LABlab(52.36, 58.35, -45.47)
CIE-LCHlch(52.36, 73.98, 322.07°)
OKLaboklab(61.42% 0.1532 -0.1267)
OKLCHoklch(61.42% 0.199 320.4)
XYZxyz(33.4435, 20.4630, 59.3032)
Luminance0.2046 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B752CC #67CC52
analogous
#7A52CC #B752CC #CC52A4
triadic
#B752CC #CCB752 #52CCB7
tetradic
#B752CC #CC7A52 #67CC52 #52A4CC
square
#B752CC #CC7A52 #67CC52 #52A4CC
split-complementary
#B752CC #A4CC52 #52CC7A
monochromatic
#6F257E #9933AE #B752CC #CB81DA #DEB1E8

Accessibility & contrast

On white

4.12
#B752CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#B752CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B752CC
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B752CC#FFFFFF#000000##000000
##B752CC1.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3676D0
Deuteranopia (green-blind)
#5D81C9
Tritanopia (blue-blind)
#B86587
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b752cc;
/* rgb */ color: rgb(183, 82, 204);
/* oklch */ color: oklch(61.4% 0.199 320.4);
Tailwind
colors: {
  custom: {
    50: '#cf88dc',
    500: '#b752cc',
    950: '#000000',
  },
}
SCSS
$custom: #b752cc;
$custom-light: #cf88dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b752cc",
  "rgb": {
    "r": 183,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 289.672,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61416,
    "c": 0.19876,
    "h": 320.4
  },
  "luminance": 0.20461
}

Semantic roles & 50–950 ramp

primary
#B752CC
secondary
#ACD6A4
accent
#DE4A63
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B752CC

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

Preview Lab → · Contrast checker → · Palette generator →

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