#B652A7#B652A7

#B652A7 is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.4% C 0.165 H 333.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#B652A7
RGBrgb(182, 82, 167)
HSLhsl(309, 41%, 52%)
HSVhsv(309, 55%, 71%)
CMYKcmyk(0%, 54.9%, 8.2%, 28.6%)
CIE-LABlab(50.42, 51.41, -27.07)
CIE-LCHlch(50.42, 58.11, 332.23°)
OKLaboklab(59.38% 0.148 -0.0737)
OKLCHoklch(59.38% 0.165 333.5)
XYZxyz(29.2838, 18.7717, 38.6327)
Luminance0.1877 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B652A7 #52B661
analogous
#9352B6 #B652A7 #B65275
triadic
#B652A7 #A7B652 #52A7B6
tetradic
#B652A7 #B69352 #52B661 #5275B6
square
#B652A7 #B69352 #52B661 #5275B6
split-complementary
#B652A7 #75B652 #52B693
monochromatic
#642A5B #8F3C82 #B652A7 #C87DBD #DAA8D3

Accessibility & contrast

On white

4.42
#B652A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#B652A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B652A7
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B652A7#FFFFFF#000000##000000
##B652A71.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#506FAA
Deuteranopia (green-blind)
#6E7DA4
Tritanopia (blue-blind)
#BD5975
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b652a7;
/* rgb */ color: rgb(182, 82, 167);
/* oklch */ color: oklch(59.4% 0.165 333.5);
Tailwind
colors: {
  custom: {
    50: '#ce87c1',
    500: '#b652a7',
    950: '#000000',
  },
}
SCSS
$custom: #b652a7;
$custom-light: #ce87c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b652a7",
  "rgb": {
    "r": 182,
    "g": 82,
    "b": 167
  },
  "hsl": {
    "h": 309,
    "s": 40.65,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59383,
    "c": 0.1653,
    "h": 333.5
  },
  "luminance": 0.1877
}

Semantic roles & 50–950 ramp

primary
#B652A7
secondary
#9CC8A3
accent
#D16957
background
#FDF8FB
surface
#FAF0F7
border
#D3CBD0
text
#140C12
muted
#837D81

Preview Lab

Preview with #B652A7

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

Preview Lab → · Contrast checker → · Palette generator →

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