#B052CD#B052CD

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

Color values

HEX#B052CD
RGBrgb(176, 82, 205)
HSLhsl(286, 55%, 56%)
HSVhsv(286, 60%, 80%)
CMYKcmyk(14.1%, 60%, 0%, 19.6%)
CIE-LABlab(51.47, 56.81, -47.52)
CIE-LCHlch(51.47, 74.07, 320.09°)
OKLaboklab(60.59% 0.1449 -0.1328)
OKLCHoklch(60.59% 0.197 317.5)
XYZxyz(31.9397, 19.6737, 59.8607)
Luminance0.1967 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B052CD #6FCD52
analogous
#7352CD #B052CD #CD52AD
triadic
#B052CD #CDB052 #52CDB0
tetradic
#B052CD #CD7352 #6FCD52 #52ADCD
square
#B052CD #CD7352 #6FCD52 #52ADCD
split-complementary
#B052CD #ADCD52 #52CD73
monochromatic
#6A2580 #9233AF #B052CD #C681DB #DBB1E8

Accessibility & contrast

On white

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

On black

4.93
#B052CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B052CD
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B052CD#FFFFFF#000000##000000
##B052CD1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3075D1
Deuteranopia (green-blind)
#567ECA
Tritanopia (blue-blind)
#AF6788
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b052cd;
/* rgb */ color: rgb(176, 82, 205);
/* oklch */ color: oklch(60.6% 0.197 317.5);
Tailwind
colors: {
  custom: {
    50: '#cb88dd',
    500: '#b052cd',
    950: '#000000',
  },
}
SCSS
$custom: #b052cd;
$custom-light: #cb88dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b052cd",
  "rgb": {
    "r": 176,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 285.854,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60589,
    "c": 0.19654,
    "h": 317.5
  },
  "luminance": 0.19672
}

Semantic roles & 50–950 ramp

primary
#B052CD
secondary
#B0D7A4
accent
#DE496C
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B052CD

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

Preview Lab → · Contrast checker → · Palette generator →

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