#B252BC#B252BC

#B252BC is a mid, vivid purple. Relative luminance 0.191; OKLCH L 59.9% C 0.181 H 323.8°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#B252BC
RGBrgb(178, 82, 188)
HSLhsl(294, 44%, 53%)
HSVhsv(294, 56%, 74%)
CMYKcmyk(5.3%, 56.4%, 0%, 26.3%)
CIE-LABlab(50.84, 54.03, -38.70)
CIE-LCHlch(50.84, 66.46, 324.39°)
OKLaboklab(59.9% 0.1463 -0.1071)
OKLCHoklch(59.9% 0.181 323.8)
XYZxyz(30.4537, 19.1320, 49.6560)
Luminance0.1913 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B252BC #5CBC52
analogous
#7D52BC #B252BC #BC5291
triadic
#B252BC #BCB252 #52BCB2
tetradic
#B252BC #BC7D52 #5CBC52 #5291BC
square
#B252BC #BC7D52 #5CBC52 #5291BC
split-complementary
#B252BC #91BC52 #52BC7D
monochromatic
#64296A #8E3A97 #B252BC #C67ECD #D9AADE

Accessibility & contrast

On white

4.35
#B252BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B252BC#FFFFFF#000000##000000
##B252BC1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4172BF
Deuteranopia (green-blind)
#627DB9
Tritanopia (blue-blind)
#B5607F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b252bc;
/* rgb */ color: rgb(178, 82, 188);
/* oklch */ color: oklch(59.9% 0.181 323.8);
Tailwind
colors: {
  custom: {
    50: '#cc87d0',
    500: '#b252bc',
    950: '#000000',
  },
}
SCSS
$custom: #b252bc;
$custom-light: #cc87d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b252bc",
  "rgb": {
    "r": 178,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 294.34,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59899,
    "c": 0.1813,
    "h": 323.8
  },
  "luminance": 0.1913
}

Semantic roles & 50–950 ramp

primary
#B252BC
secondary
#A2CC9E
accent
#D45460
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B252BC

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

Preview Lab → · Contrast checker → · Palette generator →

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