#B052CB#B052CB

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

Color values

HEX#B052CB
RGBrgb(176, 82, 203)
HSLhsl(287, 54%, 56%)
HSVhsv(287, 60%, 80%)
CMYKcmyk(13.3%, 59.6%, 0%, 20.4%)
CIE-LABlab(51.36, 56.41, -46.55)
CIE-LCHlch(51.36, 73.14, 320.47°)
OKLaboklab(60.47% 0.1448 -0.13)
OKLCHoklch(60.47% 0.195 318.1)
XYZxyz(31.6998, 19.5778, 58.5974)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B052CB #6DCB52
analogous
#7352CB #B052CB #CB52A9
triadic
#B052CB #CBB052 #52CBB0
tetradic
#B052CB #CB7352 #6DCB52 #52A9CB
square
#B052CB #CB7352 #6DCB52 #52A9CB
split-complementary
#B052CB #A9CB52 #52CB73
monochromatic
#6A267D #9134AC #B052CB #C581D9 #DBB0E7

Accessibility & contrast

On white

4.27
#B052CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B052CB#FFFFFF#000000##000000
##B052CB1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3374CF
Deuteranopia (green-blind)
#577DC8
Tritanopia (blue-blind)
#B06687
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b052cb;
/* rgb */ color: rgb(176, 82, 203);
/* oklch */ color: oklch(60.5% 0.195 318.1);
Tailwind
colors: {
  custom: {
    50: '#ca88db',
    500: '#b052cb',
    950: '#000000',
  },
}
SCSS
$custom: #b052cb;
$custom-light: #ca88db;
$custom-dark: #000000;
JSON
{
  "hex": "#b052cb",
  "rgb": {
    "r": 176,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 286.612,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60473,
    "c": 0.1946,
    "h": 318.1
  },
  "luminance": 0.19576
}

Semantic roles & 50–950 ramp

primary
#B052CB
secondary
#AFD5A3
accent
#DD4B6B
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B052CB

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

Preview Lab → · Contrast checker → · Palette generator →

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