#B052D2#B052D2

#B052D2 is a mid, highly saturated purple. Relative luminance 0.199; OKLCH L 60.9% C 0.201 H 316.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B052D2
RGBrgb(176, 82, 210)
HSLhsl(284, 59%, 57%)
HSVhsv(284, 61%, 82%)
CMYKcmyk(16.2%, 61%, 0%, 17.6%)
CIE-LABlab(51.75, 57.82, -49.93)
CIE-LCHlch(51.75, 76.40, 319.19°)
OKLaboklab(60.88% 0.145 -0.1398)
OKLCHoklch(60.88% 0.201 316)
XYZxyz(32.5529, 19.9190, 63.0903)
Luminance0.1992 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B052D2 #74D252
analogous
#7052D2 #B052D2 #D252B4
triadic
#B052D2 #D2B052 #52D2B0
tetradic
#B052D2 #D27052 #74D252 #52B4D2
square
#B052D2 #D27052 #74D252 #52B4D2
split-complementary
#B052D2 #B4D252 #52D270
monochromatic
#6C2387 #9330B7 #B052D2 #C683DF #DCB3EB

Accessibility & contrast

On white

4.21
#B052D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#B052D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B052D2
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B052D2#FFFFFF#000000##000000
##B052D21.004.214.984.98
#FFFFFF4.211.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A76D6
Deuteranopia (green-blind)
#527ECF
Tritanopia (blue-blind)
#AE688B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b052d2;
/* rgb */ color: rgb(176, 82, 210);
/* oklch */ color: oklch(60.9% 0.201 316.0);
Tailwind
colors: {
  custom: {
    50: '#cb88e0',
    500: '#b052d2',
    950: '#000000',
  },
}
SCSS
$custom: #b052d2;
$custom-light: #cb88e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b052d2",
  "rgb": {
    "r": 176,
    "g": 82,
    "b": 210
  },
  "hsl": {
    "h": 284.063,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60882,
    "c": 0.20144,
    "h": 316
  },
  "luminance": 0.19918
}

Semantic roles & 50–950 ramp

primary
#B052D2
secondary
#B4DAA6
accent
#E2466F
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B052D2

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

Preview Lab → · Contrast checker → · Palette generator →

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