#B052CC#B052CC

#B052CC is a mid, vivid purple. Relative luminance 0.196; OKLCH L 60.5% C 0.196 H 317.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#B052CC
RGBrgb(176, 82, 204)
HSLhsl(286, 54%, 56%)
HSVhsv(286, 60%, 80%)
CMYKcmyk(13.7%, 59.8%, 0%, 20%)
CIE-LABlab(51.41, 56.61, -47.03)
CIE-LCHlch(51.41, 73.60, 320.28°)
OKLaboklab(60.53% 0.1449 -0.1314)
OKLCHoklch(60.53% 0.196 317.8)
XYZxyz(31.8193, 19.6256, 59.2270)
Luminance0.1962 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B052CC #6ECC52
analogous
#7352CC #B052CC #CC52AB
triadic
#B052CC #CCB052 #52CCB0
tetradic
#B052CC #CC7352 #6ECC52 #52ABCC
square
#B052CC #CC7352 #6ECC52 #52ABCC
split-complementary
#B052CC #ABCC52 #52CC73
monochromatic
#6A257E #9233AE #B052CC #C681DA #DBB1E8

Accessibility & contrast

On white

4.26
#B052CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#B052CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B052CC
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B052CC#FFFFFF#000000##000000
##B052CC1.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3174D0
Deuteranopia (green-blind)
#577EC9
Tritanopia (blue-blind)
#AF6687
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b052cc;
/* rgb */ color: rgb(176, 82, 204);
/* oklch */ color: oklch(60.5% 0.196 317.8);
Tailwind
colors: {
  custom: {
    50: '#cb88dc',
    500: '#b052cc',
    950: '#000000',
  },
}
SCSS
$custom: #b052cc;
$custom-light: #cb88dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b052cc",
  "rgb": {
    "r": 176,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 286.23,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60531,
    "c": 0.19557,
    "h": 317.8
  },
  "luminance": 0.19624
}

Semantic roles & 50–950 ramp

primary
#B052CC
secondary
#AFD6A4
accent
#DE4A6C
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B052CC

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

Preview Lab → · Contrast checker → · Palette generator →

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