#B052DB#B052DB

#B052DB is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.4% C 0.210 H 313.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#B052DB
RGBrgb(176, 82, 219)
HSLhsl(281, 66%, 59%)
HSVhsv(281, 63%, 86%)
CMYKcmyk(19.6%, 62.6%, 0%, 14.1%)
CIE-LABlab(52.26, 59.67, -54.23)
CIE-LCHlch(52.26, 80.63, 317.74°)
OKLaboklab(61.43% 0.1449 -0.1524)
OKLCHoklch(61.43% 0.21 313.6)
XYZxyz(33.7058, 20.3802, 69.1623)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B052DB #7DDB52
analogous
#6C52DB #B052DB #DB52C2
triadic
#B052DB #DBB052 #52DBB0
tetradic
#B052DB #DB6C52 #7DDB52 #52C2DB
square
#B052DB #DB6C52 #7DDB52 #52C2DB
split-complementary
#B052DB #C2DB52 #52DB6C
monochromatic
#6F1F94 #9529C6 #B052DB #C785E6 #DEB7F0

Accessibility & contrast

On white

4.14
#B052DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#B052DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B052DB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B052DB#FFFFFF#000000##000000
##B052DB1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1978DF
Deuteranopia (green-blind)
#4B7FD8
Tritanopia (blue-blind)
#AC6C8F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b052db;
/* rgb */ color: rgb(176, 82, 219);
/* oklch */ color: oklch(61.4% 0.210 313.6);
Tailwind
colors: {
  custom: {
    50: '#cb88e7',
    500: '#b052db',
    950: '#000000',
  },
}
SCSS
$custom: #b052db;
$custom-light: #cb88e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b052db",
  "rgb": {
    "r": 176,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 281.168,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61425,
    "c": 0.2103,
    "h": 313.6
  },
  "luminance": 0.20379
}

Semantic roles & 50–950 ramp

primary
#B052DB
secondary
#BADFAA
accent
#E93F74
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B052DB

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

Preview Lab → · Contrast checker → · Palette generator →

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