#B052DD#B052DD

#B052DD is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.5% C 0.212 H 313.0°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#B052DD
RGBrgb(176, 82, 221)
HSLhsl(281, 67%, 59%)
HSVhsv(281, 63%, 87%)
CMYKcmyk(20.4%, 62.9%, 0%, 13.3%)
CIE-LABlab(52.38, 60.08, -55.17)
CIE-LCHlch(52.38, 81.57, 317.44°)
OKLaboklab(61.55% 0.1449 -0.1552)
OKLCHoklch(61.55% 0.212 313)
XYZxyz(33.9707, 20.4861, 70.5573)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B052DD #7FDD52
analogous
#6B52DD #B052DD #DD52C4
triadic
#B052DD #DDB052 #52DDB0
tetradic
#B052DD #DD6B52 #7FDD52 #52C4DD
square
#B052DD #DD6B52 #7FDD52 #52C4DD
split-complementary
#B052DD #C4DD52 #52DD6B
monochromatic
#701E97 #9628CA #B052DD #C785E7 #DFB8F1

Accessibility & contrast

On white

4.12
#B052DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#B052DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B052DD
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B052DD#FFFFFF#000000##000000
##B052DD1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1478E1
Deuteranopia (green-blind)
#497FDA
Tritanopia (blue-blind)
#AB6C90
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b052dd;
/* rgb */ color: rgb(176, 82, 221);
/* oklch */ color: oklch(61.5% 0.212 313.0);
Tailwind
colors: {
  custom: {
    50: '#cb88e8',
    500: '#b052dd',
    950: '#000000',
  },
}
SCSS
$custom: #b052dd;
$custom-light: #cb88e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b052dd",
  "rgb": {
    "r": 176,
    "g": 82,
    "b": 221
  },
  "hsl": {
    "h": 280.576,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61548,
    "c": 0.21229,
    "h": 313
  },
  "luminance": 0.20485
}

Semantic roles & 50–950 ramp

primary
#B052DD
secondary
#BCE0AA
accent
#EA3E76
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B052DD

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

Preview Lab → · Contrast checker → · Palette generator →

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