#B752C2#B752C2

#B752C2 is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.9% C 0.190 H 323.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#B752C2
RGBrgb(183, 82, 194)
HSLhsl(294, 48%, 54%)
HSVhsv(294, 58%, 76%)
CMYKcmyk(5.7%, 57.7%, 0%, 23.9%)
CIE-LABlab(51.84, 56.46, -40.55)
CIE-LCHlch(51.84, 69.52, 324.31°)
OKLaboklab(60.87% 0.1526 -0.1124)
OKLCHoklch(60.87% 0.19 323.6)
XYZxyz(32.2824, 19.9986, 53.1882)
Luminance0.2000 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B752C2 #5DC252
analogous
#7F52C2 #B752C2 #C25295
triadic
#B752C2 #C2B752 #52C2B7
tetradic
#B752C2 #C27F52 #5DC252 #5295C2
square
#B752C2 #C27F52 #5DC252 #5295C2
split-complementary
#B752C2 #95C252 #52C27F
monochromatic
#6A2872 #95389F #B752C2 #CA7FD2 #DDACE2

Accessibility & contrast

On white

4.20
#B752C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#B752C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B752C2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B752C2#FFFFFF#000000##000000
##B752C21.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F74C6
Deuteranopia (green-blind)
#6380BF
Tritanopia (blue-blind)
#BA6282
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b752c2;
/* rgb */ color: rgb(183, 82, 194);
/* oklch */ color: oklch(60.9% 0.190 323.6);
Tailwind
colors: {
  custom: {
    50: '#cf88d5',
    500: '#b752c2',
    950: '#000000',
  },
}
SCSS
$custom: #b752c2;
$custom-light: #cf88d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b752c2",
  "rgb": {
    "r": 183,
    "g": 82,
    "b": 194
  },
  "hsl": {
    "h": 294.107,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60867,
    "c": 0.1895,
    "h": 323.6
  },
  "luminance": 0.19997
}

Semantic roles & 50–950 ramp

primary
#B752C2
secondary
#A5D0A0
accent
#D7505E
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #B752C2

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

Preview Lab → · Contrast checker → · Palette generator →

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