#B252BF#B252BF

#B252BF is a mid, vivid purple. Relative luminance 0.193; OKLCH L 60.1% C 0.184 H 322.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#B252BF
RGBrgb(178, 82, 191)
HSLhsl(293, 46%, 54%)
HSVhsv(293, 57%, 75%)
CMYKcmyk(6.8%, 57.1%, 0%, 25.1%)
CIE-LABlab(50.99, 54.60, -40.20)
CIE-LCHlch(50.99, 67.80, 323.64°)
OKLaboklab(60.06% 0.1465 -0.1115)
OKLCHoklch(60.06% 0.184 322.7)
XYZxyz(30.7804, 19.2627, 51.3769)
Luminance0.1926 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B252BF #5FBF52
analogous
#7B52BF #B252BF #BF5295
triadic
#B252BF #BFB252 #52BFB2
tetradic
#B252BF #BF7B52 #5FBF52 #5295BF
square
#B252BF #BF7B52 #5FBF52 #5295BF
split-complementary
#B252BF #95BF52 #52BF7B
monochromatic
#66296E #8F399B #B252BF #C67FD0 #DAABE0

Accessibility & contrast

On white

4.33
#B252BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#B252BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B252BF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B252BF#FFFFFF#000000##000000
##B252BF1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F72C2
Deuteranopia (green-blind)
#607DBC
Tritanopia (blue-blind)
#B56181
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b252bf;
/* rgb */ color: rgb(178, 82, 191);
/* oklch */ color: oklch(60.1% 0.184 322.7);
Tailwind
colors: {
  custom: {
    50: '#cc88d3',
    500: '#b252bf',
    950: '#000000',
  },
}
SCSS
$custom: #b252bf;
$custom-light: #cc88d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b252bf",
  "rgb": {
    "r": 178,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 292.844,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60059,
    "c": 0.1841,
    "h": 322.7
  },
  "luminance": 0.19261
}

Semantic roles & 50–950 ramp

primary
#B252BF
secondary
#A5CE9F
accent
#D65262
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C14
muted
#827D83

Preview Lab

Preview with #B252BF

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

Preview Lab → · Contrast checker → · Palette generator →

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