#B052D9#B052D9

#B052D9 is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.3% C 0.208 H 314.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B052D9
RGBrgb(176, 82, 217)
HSLhsl(282, 64%, 59%)
HSVhsv(282, 62%, 85%)
CMYKcmyk(18.9%, 62.2%, 0%, 14.9%)
CIE-LABlab(52.15, 59.25, -53.28)
CIE-LCHlch(52.15, 79.68, 318.04°)
OKLaboklab(61.3% 0.145 -0.1496)
OKLCHoklch(61.3% 0.208 314.1)
XYZxyz(33.4441, 20.2755, 67.7840)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B052D9 #7BD952
analogous
#6C52D9 #B052D9 #D952BE
triadic
#B052D9 #D9B052 #52D9B0
tetradic
#B052D9 #D96C52 #7BD952 #52BED9
square
#B052D9 #D96C52 #7BD952 #52BED9
split-complementary
#B052D9 #BED952 #52D96C
monochromatic
#6E2091 #952BC3 #B052D9 #C784E4 #DEB6EF

Accessibility & contrast

On white

4.15
#B052D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#B052D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B052D9
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B052D9#FFFFFF#000000##000000
##B052D91.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E77DD
Deuteranopia (green-blind)
#4D7FD6
Tritanopia (blue-blind)
#AC6B8E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b052d9;
/* rgb */ color: rgb(176, 82, 217);
/* oklch */ color: oklch(61.3% 0.208 314.1);
Tailwind
colors: {
  custom: {
    50: '#cb88e5',
    500: '#b052d9',
    950: '#000000',
  },
}
SCSS
$custom: #b052d9;
$custom-light: #cb88e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b052d9",
  "rgb": {
    "r": 176,
    "g": 82,
    "b": 217
  },
  "hsl": {
    "h": 281.778,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.61302,
    "c": 0.20833,
    "h": 314.1
  },
  "luminance": 0.20274
}

Semantic roles & 50–950 ramp

primary
#B052D9
secondary
#B9DEA9
accent
#E74173
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B052D9

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

Preview Lab → · Contrast checker → · Palette generator →

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