#B052CF#B052CF

#B052CF is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.7% C 0.199 H 316.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#B052CF
RGBrgb(176, 82, 207)
HSLhsl(285, 57%, 57%)
HSVhsv(285, 60%, 81%)
CMYKcmyk(15%, 60.4%, 0%, 18.8%)
CIE-LABlab(51.58, 57.21, -48.49)
CIE-LCHlch(51.58, 75.00, 319.72°)
OKLaboklab(60.71% 0.1449 -0.1356)
OKLCHoklch(60.71% 0.199 316.9)
XYZxyz(32.1826, 19.7709, 61.1403)
Luminance0.1977 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B052CF #71CF52
analogous
#7252CF #B052CF #CF52B0
triadic
#B052CF #CFB052 #52CFB0
tetradic
#B052CF #CF7252 #71CF52 #52B0CF
square
#B052CF #CF7252 #71CF52 #52B0CF
split-complementary
#B052CF #B0CF52 #52CF72
monochromatic
#6B2482 #9231B2 #B052CF #C682DC #DCB2EA

Accessibility & contrast

On white

4.24
#B052CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#B052CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B052CF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B052CF#FFFFFF#000000##000000
##B052CF1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E75D3
Deuteranopia (green-blind)
#557ECC
Tritanopia (blue-blind)
#AF6789
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b052cf;
/* rgb */ color: rgb(176, 82, 207);
/* oklch */ color: oklch(60.7% 0.199 316.9);
Tailwind
colors: {
  custom: {
    50: '#cb88de',
    500: '#b052cf',
    950: '#000000',
  },
}
SCSS
$custom: #b052cf;
$custom-light: #cb88de;
$custom-dark: #000000;
JSON
{
  "hex": "#b052cf",
  "rgb": {
    "r": 176,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 285.12,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60705,
    "c": 0.1985,
    "h": 316.9
  },
  "luminance": 0.1977
}

Semantic roles & 50–950 ramp

primary
#B052CF
secondary
#B2D8A5
accent
#E0486E
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B052CF

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

Preview Lab → · Contrast checker → · Palette generator →

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