#B252BB#B252BB

#B252BB is a mid, vivid purple. Relative luminance 0.191; OKLCH L 59.8% C 0.180 H 324.1°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#B252BB
RGBrgb(178, 82, 187)
HSLhsl(295, 44%, 53%)
HSVhsv(295, 56%, 73%)
CMYKcmyk(4.8%, 56.1%, 0%, 26.7%)
CIE-LABlab(50.79, 53.84, -38.20)
CIE-LCHlch(50.79, 66.02, 324.64°)
OKLaboklab(59.85% 0.1462 -0.1057)
OKLCHoklch(59.85% 0.18 324.1)
XYZxyz(30.3462, 19.0890, 49.0902)
Luminance0.1909 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B252BB #5BBB52
analogous
#7D52BB #B252BB #BB528F
triadic
#B252BB #BBB252 #52BBB2
tetradic
#B252BB #BB7D52 #5BBB52 #528FBB
square
#B252BB #BB7D52 #5BBB52 #528FBB
split-complementary
#B252BB #8FBB52 #52BB7D
monochromatic
#642969 #8D3B95 #B252BB #C67ECC #D9AADE

Accessibility & contrast

On white

4.36
#B252BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#B252BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B252BB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B252BB#FFFFFF#000000##000000
##B252BB1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4271BE
Deuteranopia (green-blind)
#627DB8
Tritanopia (blue-blind)
#B5607F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b252bb;
/* rgb */ color: rgb(178, 82, 187);
/* oklch */ color: oklch(59.8% 0.180 324.1);
Tailwind
colors: {
  custom: {
    50: '#cc87d0',
    500: '#b252bb',
    950: '#000000',
  },
}
SCSS
$custom: #b252bb;
$custom-light: #cc87d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b252bb",
  "rgb": {
    "r": 178,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 294.857,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.59846,
    "c": 0.18037,
    "h": 324.1
  },
  "luminance": 0.19087
}

Semantic roles & 50–950 ramp

primary
#B252BB
secondary
#A2CB9E
accent
#D3545F
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B252BB

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

Preview Lab → · Contrast checker → · Palette generator →

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