#B651A2#B651A2

#B651A2 is a mid, vivid pink. Relative luminance 0.184; OKLCH L 59.0% C 0.163 H 335.7°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B651A2
RGBrgb(182, 81, 162)
HSLhsl(312, 41%, 52%)
HSVhsv(312, 55%, 71%)
CMYKcmyk(0%, 55.5%, 11%, 28.6%)
CIE-LABlab(50.03, 51.06, -24.74)
CIE-LCHlch(50.03, 56.74, 334.15°)
OKLaboklab(59.02% 0.1484 -0.067)
OKLCHoklch(59.02% 0.163 335.7)
XYZxyz(28.7556, 18.4407, 36.2203)
Luminance0.1844 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B651A2 #51B665
analogous
#9851B6 #B651A2 #B65170
triadic
#B651A2 #A2B651 #51A2B6
tetradic
#B651A2 #B69851 #51B665 #5170B6
square
#B651A2 #B69851 #51B665 #5170B6
split-complementary
#B651A2 #70B651 #51B698
monochromatic
#632A58 #8E3C7E #B651A2 #C87CB9 #DAA7D0

Accessibility & contrast

On white

4.48
#B651A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#B651A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B651A2
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B651A2#FFFFFF#000000##000000
##B651A21.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#526DA5
Deuteranopia (green-blind)
#6F7D9F
Tritanopia (blue-blind)
#BE5672
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b651a2;
/* rgb */ color: rgb(182, 81, 162);
/* oklch */ color: oklch(59.0% 0.163 335.7);
Tailwind
colors: {
  custom: {
    50: '#ce87bd',
    500: '#b651a2',
    950: '#000000',
  },
}
SCSS
$custom: #b651a2;
$custom-light: #ce87bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b651a2",
  "rgb": {
    "r": 182,
    "g": 81,
    "b": 162
  },
  "hsl": {
    "h": 311.881,
    "s": 40.891,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59022,
    "c": 0.16286,
    "h": 335.7
  },
  "luminance": 0.18439
}

Semantic roles & 50–950 ramp

primary
#B651A2
secondary
#9BC8A4
accent
#D16F57
background
#FDF8FB
surface
#FAF0F6
border
#D3CBD0
text
#140C12
muted
#837D81

Preview Lab

Preview with #B651A2

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

Preview Lab → · Contrast checker → · Palette generator →

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