#B052AF#B052AF

#B052AF is a mid, vivid purple. Relative luminance 0.184; OKLCH L 59.0% C 0.168 H 327.9°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#B052AF
RGBrgb(176, 82, 175)
HSLhsl(301, 37%, 51%)
HSVhsv(301, 53%, 69%)
CMYKcmyk(0%, 53.4%, 0.6%, 31%)
CIE-LABlab(49.93, 51.10, -32.58)
CIE-LCHlch(49.93, 60.60, 327.47°)
OKLaboklab(58.97% 0.1425 -0.0895)
OKLCHoklch(58.97% 0.168 327.9)
XYZxyz(28.6592, 18.3615, 42.5837)
Luminance0.1836 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B052AF #52B053
analogous
#8252B0 #B052AF #B05280
triadic
#B052AF #AFB052 #52AFB0
tetradic
#B052AF #B08252 #52B053 #5280B0
square
#B052AF #B08252 #52B053 #5280B0
split-complementary
#B052AF #80B052 #52B082
monochromatic
#5D2B5D #873E86 #B052AF #C37CC2 #D6A6D6

Accessibility & contrast

On white

4.49
#B052AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#B052AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B052AF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B052AF#FFFFFF#000000##000000
##B052AF1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#496FB2
Deuteranopia (green-blind)
#677BAC
Tritanopia (blue-blind)
#B55C79
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b052af;
/* rgb */ color: rgb(176, 82, 175);
/* oklch */ color: oklch(59.0% 0.168 327.9);
Tailwind
colors: {
  custom: {
    50: '#ca87c7',
    500: '#b052af',
    950: '#000000',
  },
}
SCSS
$custom: #b052af;
$custom-light: #ca87c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b052af",
  "rgb": {
    "r": 176,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 300.638,
    "s": 37.302,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58968,
    "c": 0.16825,
    "h": 327.9
  },
  "luminance": 0.1836
}

Semantic roles & 50–950 ramp

primary
#B052AF
secondary
#9AC49A
accent
#CD5C5B
background
#FCF8FC
surface
#F9F0F8
border
#D2CBD1
text
#130C13
muted
#827D82

Preview Lab

Preview with #B052AF

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

Preview Lab → · Contrast checker → · Palette generator →

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