#B052DA#B052DA

#B052DA is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.4% C 0.209 H 313.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#B052DA
RGBrgb(176, 82, 218)
HSLhsl(281, 65%, 59%)
HSVhsv(281, 62%, 85%)
CMYKcmyk(19.3%, 62.4%, 0%, 14.5%)
CIE-LABlab(52.21, 59.46, -53.75)
CIE-LCHlch(52.21, 80.15, 317.89°)
OKLaboklab(61.36% 0.1449 -0.151)
OKLCHoklch(61.36% 0.209 313.8)
XYZxyz(33.5745, 20.3277, 68.4711)
Luminance0.2033 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B052DA #7CDA52
analogous
#6C52DA #B052DA #DA52C0
triadic
#B052DA #DAB052 #52DAB0
tetradic
#B052DA #DA6C52 #7CDA52 #52C0DA
square
#B052DA #DA6C52 #7CDA52 #52C0DA
split-complementary
#B052DA #C0DA52 #52DA6C
monochromatic
#6F1F92 #952AC5 #B052DA #C784E5 #DEB7F0

Accessibility & contrast

On white

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

On black

5.07
#B052DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B052DA
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B052DA#FFFFFF#000000##000000
##B052DA1.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C77DE
Deuteranopia (green-blind)
#4C7FD7
Tritanopia (blue-blind)
#AC6B8F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b052da;
/* rgb */ color: rgb(176, 82, 218);
/* oklch */ color: oklch(61.4% 0.209 313.8);
Tailwind
colors: {
  custom: {
    50: '#cb88e6',
    500: '#b052da',
    950: '#000000',
  },
}
SCSS
$custom: #b052da;
$custom-light: #cb88e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b052da",
  "rgb": {
    "r": 176,
    "g": 82,
    "b": 218
  },
  "hsl": {
    "h": 281.471,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.61363,
    "c": 0.20932,
    "h": 313.8
  },
  "luminance": 0.20327
}

Semantic roles & 50–950 ramp

primary
#B052DA
secondary
#BADFA9
accent
#E84074
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B052DA

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

Preview Lab → · Contrast checker → · Palette generator →

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