#B052CE#B052CE

#B052CE is a mid, vivid purple. Relative luminance 0.197; OKLCH L 60.6% C 0.198 H 317.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#B052CE
RGBrgb(176, 82, 206)
HSLhsl(285, 56%, 56%)
HSVhsv(285, 60%, 81%)
CMYKcmyk(14.6%, 60.2%, 0%, 19.2%)
CIE-LABlab(51.52, 57.01, -48.00)
CIE-LCHlch(51.52, 74.53, 319.90°)
OKLaboklab(60.65% 0.1449 -0.1342)
OKLCHoklch(60.65% 0.198 317.2)
XYZxyz(32.0608, 19.7221, 60.4985)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B052CE #70CE52
analogous
#7252CE #B052CE #CE52AE
triadic
#B052CE #CEB052 #52CEB0
tetradic
#B052CE #CE7252 #70CE52 #52AECE
square
#B052CE #CE7252 #70CE52 #52AECE
split-complementary
#B052CE #AECE52 #52CE72
monochromatic
#6B2581 #9232B1 #B052CE #C682DC #DCB1E9

Accessibility & contrast

On white

4.25
#B052CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#B052CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B052CE
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B052CE#FFFFFF#000000##000000
##B052CE1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F75D2
Deuteranopia (green-blind)
#557ECB
Tritanopia (blue-blind)
#AF6788
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b052ce;
/* rgb */ color: rgb(176, 82, 206);
/* oklch */ color: oklch(60.6% 0.198 317.2);
Tailwind
colors: {
  custom: {
    50: '#cb88dd',
    500: '#b052ce',
    950: '#000000',
  },
}
SCSS
$custom: #b052ce;
$custom-light: #cb88dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b052ce",
  "rgb": {
    "r": 176,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 285.484,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60647,
    "c": 0.19753,
    "h": 317.2
  },
  "luminance": 0.19721
}

Semantic roles & 50–950 ramp

primary
#B052CE
secondary
#B1D7A4
accent
#DF496D
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B052CE

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

Preview Lab → · Contrast checker → · Palette generator →

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