#B052DC#B052DC

#B052DC is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.5% C 0.211 H 313.3°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#B052DC
RGBrgb(176, 82, 220)
HSLhsl(281, 66%, 59%)
HSVhsv(281, 63%, 86%)
CMYKcmyk(20%, 62.7%, 0%, 13.7%)
CIE-LABlab(52.32, 59.87, -54.70)
CIE-LCHlch(52.32, 81.10, 317.59°)
OKLaboklab(61.49% 0.1449 -0.1538)
OKLCHoklch(61.49% 0.211 313.3)
XYZxyz(33.8378, 20.4330, 69.8577)
Luminance0.2043 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B052DC #7EDC52
analogous
#6B52DC #B052DC #DC52C3
triadic
#B052DC #DCB052 #52DCB0
tetradic
#B052DC #DC6B52 #7EDC52 #52C3DC
square
#B052DC #DC6B52 #7EDC52 #52C3DC
split-complementary
#B052DC #C3DC52 #52DC6B
monochromatic
#6F1E95 #9529C8 #B052DC #C785E6 #DEB8F1

Accessibility & contrast

On white

4.13
#B052DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#B052DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B052DC
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B052DC#FFFFFF#000000##000000
##B052DC1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1778E0
Deuteranopia (green-blind)
#4A7FD9
Tritanopia (blue-blind)
#AC6C90
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b052dc;
/* rgb */ color: rgb(176, 82, 220);
/* oklch */ color: oklch(61.5% 0.211 313.3);
Tailwind
colors: {
  custom: {
    50: '#cb88e7',
    500: '#b052dc',
    950: '#000000',
  },
}
SCSS
$custom: #b052dc;
$custom-light: #cb88e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b052dc",
  "rgb": {
    "r": 176,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 280.87,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61486,
    "c": 0.21129,
    "h": 313.3
  },
  "luminance": 0.20432
}

Semantic roles & 50–950 ramp

primary
#B052DC
secondary
#BBE0AA
accent
#E93F75
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B052DC

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

Preview Lab → · Contrast checker → · Palette generator →

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