#B052BF#B052BF

#B052BF is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.8% C 0.183 H 322.0°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B052BF
RGBrgb(176, 82, 191)
HSLhsl(292, 46%, 54%)
HSVhsv(292, 57%, 75%)
CMYKcmyk(7.9%, 57.1%, 0%, 25.1%)
CIE-LABlab(50.72, 54.07, -40.65)
CIE-LCHlch(50.72, 67.65, 323.07°)
OKLaboklab(59.8% 0.1442 -0.1128)
OKLCHoklch(59.8% 0.183 322)
XYZxyz(30.3248, 19.0277, 51.3555)
Luminance0.1903 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B052BF #61BF52
analogous
#7952BF #B052BF #BF5297
triadic
#B052BF #BFB052 #52BFB0
tetradic
#B052BF #BF7952 #61BF52 #5297BF
square
#B052BF #BF7952 #61BF52 #5297BF
split-complementary
#B052BF #97BF52 #52BF79
monochromatic
#64296E #8D399B #B052BF #C47FD0 #D9ABE0

Accessibility & contrast

On white

4.37
#B052BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#B052BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B052BF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B052BF#FFFFFF#000000##000000
##B052BF1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E72C2
Deuteranopia (green-blind)
#5F7CBC
Tritanopia (blue-blind)
#B26281
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b052bf;
/* rgb */ color: rgb(176, 82, 191);
/* oklch */ color: oklch(59.8% 0.183 322.0);
Tailwind
colors: {
  custom: {
    50: '#ca87d3',
    500: '#b052bf',
    950: '#000000',
  },
}
SCSS
$custom: #b052bf;
$custom-light: #ca87d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b052bf",
  "rgb": {
    "r": 176,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 291.743,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59802,
    "c": 0.18306,
    "h": 322
  },
  "luminance": 0.19026
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B052BF

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

Preview Lab → · Contrast checker → · Palette generator →

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