#B752B2#B752B2

#B752B2 is a mid, vivid purple. Relative luminance 0.193; OKLCH L 60.0% C 0.175 H 329.4°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#B752B2
RGBrgb(183, 82, 178)
HSLhsl(303, 41%, 52%)
HSVhsv(303, 55%, 72%)
CMYKcmyk(0%, 55.2%, 2.7%, 28.2%)
CIE-LABlab(51.06, 53.58, -32.50)
CIE-LCHlch(51.06, 62.67, 328.76°)
OKLaboklab(60.04% 0.1509 -0.0891)
OKLCHoklch(60.04% 0.175 329.4)
XYZxyz(30.5813, 19.3182, 44.2289)
Luminance0.1932 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B752B2 #52B757
analogous
#8952B7 #B752B2 #B75280
triadic
#B752B2 #B2B752 #52B2B7
tetradic
#B752B2 #B78952 #52B757 #5280B7
square
#B752B2 #B78952 #52B757 #5280B7
split-complementary
#B752B2 #80B752 #52B789
monochromatic
#652A62 #903C8C #B752B2 #C97DC5 #DBA8D8

Accessibility & contrast

On white

4.32
#B752B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#B752B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B752B2
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B752B2#FFFFFF#000000##000000
##B752B21.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B71B5
Deuteranopia (green-blind)
#6A7FAF
Tritanopia (blue-blind)
#BD5C7A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b752b2;
/* rgb */ color: rgb(183, 82, 178);
/* oklch */ color: oklch(60.0% 0.175 329.4);
Tailwind
colors: {
  custom: {
    50: '#cf88c9',
    500: '#b752b2',
    950: '#000000',
  },
}
SCSS
$custom: #b752b2;
$custom-light: #cf88c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b752b2",
  "rgb": {
    "r": 183,
    "g": 82,
    "b": 178
  },
  "hsl": {
    "h": 302.97,
    "s": 41.224,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60043,
    "c": 0.17522,
    "h": 329.4
  },
  "luminance": 0.19316
}

Semantic roles & 50–950 ramp

primary
#B752B2
secondary
#9CC99E
accent
#D15D57
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #B752B2

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

Preview Lab → · Contrast checker → · Palette generator →

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