#B252BD#B252BD

#B252BD is a mid, vivid purple. Relative luminance 0.192; OKLCH L 60.0% C 0.182 H 323.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#B252BD
RGBrgb(178, 82, 189)
HSLhsl(294, 45%, 53%)
HSVhsv(294, 57%, 74%)
CMYKcmyk(5.8%, 56.6%, 0%, 25.9%)
CIE-LABlab(50.89, 54.22, -39.20)
CIE-LCHlch(50.89, 66.91, 324.13°)
OKLaboklab(59.95% 0.1464 -0.1086)
OKLCHoklch(59.95% 0.182 323.4)
XYZxyz(30.5618, 19.1753, 50.2256)
Luminance0.1917 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B252BD #5DBD52
analogous
#7C52BD #B252BD #BD5292
triadic
#B252BD #BDB252 #52BDB2
tetradic
#B252BD #BD7C52 #5DBD52 #5292BD
square
#B252BD #BD7C52 #5DBD52 #5292BD
split-complementary
#B252BD #92BD52 #52BD7C
monochromatic
#65296C #8E3A98 #B252BD #C67ECE #D9ABDF

Accessibility & contrast

On white

4.34
#B252BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#B252BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B252BD
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B252BD#FFFFFF#000000##000000
##B252BD1.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4172C0
Deuteranopia (green-blind)
#617DBA
Tritanopia (blue-blind)
#B56180
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b252bd;
/* rgb */ color: rgb(178, 82, 189);
/* oklch */ color: oklch(60.0% 0.182 323.4);
Tailwind
colors: {
  custom: {
    50: '#cc87d1',
    500: '#b252bd',
    950: '#000000',
  },
}
SCSS
$custom: #b252bd;
$custom-light: #cc87d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b252bd",
  "rgb": {
    "r": 178,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 293.832,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.59952,
    "c": 0.18223,
    "h": 323.4
  },
  "luminance": 0.19174
}

Semantic roles & 50–950 ramp

primary
#B252BD
secondary
#A3CC9E
accent
#D45361
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B252BD

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

Preview Lab → · Contrast checker → · Palette generator →

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