#B052CA#B052CA

#B052CA is a mid, vivid purple. Relative luminance 0.195; OKLCH L 60.4% C 0.194 H 318.4°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#B052CA
RGBrgb(176, 82, 202)
HSLhsl(287, 53%, 56%)
HSVhsv(287, 59%, 79%)
CMYKcmyk(12.9%, 59.4%, 0%, 20.8%)
CIE-LABlab(51.30, 56.22, -46.06)
CIE-LCHlch(51.30, 72.68, 320.67°)
OKLaboklab(60.42% 0.1448 -0.1285)
OKLCHoklch(60.42% 0.194 318.4)
XYZxyz(31.5810, 19.5302, 57.9718)
Luminance0.1953 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B052CA #6CCA52
analogous
#7452CA #B052CA #CA52A8
triadic
#B052CA #CAB052 #52CAB0
tetradic
#B052CA #CA7452 #6CCA52 #52A8CA
square
#B052CA #CA7452 #6CCA52 #52A8CA
split-complementary
#B052CA #A8CA52 #52CA74
monochromatic
#69267C #9134AB #B052CA #C581D8 #DBB0E7

Accessibility & contrast

On white

4.28
#B052CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#B052CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B052CA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B052CA#FFFFFF#000000##000000
##B052CA1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3474CE
Deuteranopia (green-blind)
#587DC7
Tritanopia (blue-blind)
#B06686
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b052ca;
/* rgb */ color: rgb(176, 82, 202);
/* oklch */ color: oklch(60.4% 0.194 318.4);
Tailwind
colors: {
  custom: {
    50: '#ca88db',
    500: '#b052ca',
    950: '#000000',
  },
}
SCSS
$custom: #b052ca;
$custom-light: #ca88db;
$custom-dark: #000000;
JSON
{
  "hex": "#b052ca",
  "rgb": {
    "r": 176,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 287,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60416,
    "c": 0.19363,
    "h": 318.4
  },
  "luminance": 0.19529
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B052CA

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

Preview Lab → · Contrast checker → · Palette generator →

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