#B651AF#B651AF

#B651AF is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.6% C 0.174 H 330.2°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B651AF
RGBrgb(182, 81, 175)
HSLhsl(304, 41%, 52%)
HSVhsv(304, 55%, 71%)
CMYKcmyk(0%, 55.5%, 3.8%, 28.6%)
CIE-LABlab(50.60, 53.25, -31.48)
CIE-LCHlch(50.60, 61.86, 329.41°)
OKLaboklab(59.63% 0.1506 -0.0862)
OKLCHoklch(59.63% 0.174 330.2)
XYZxyz(29.9715, 18.9270, 42.6238)
Luminance0.1893 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B651AF #51B658
analogous
#8B51B6 #B651AF #B6517D
triadic
#B651AF #AFB651 #51AFB6
tetradic
#B651AF #B68B51 #51B658 #517DB6
square
#B651AF #B68B51 #51B658 #517DB6
split-complementary
#B651AF #7DB651 #51B68B
monochromatic
#632A5F #8E3C88 #B651AF #C87CC3 #DAA7D7

Accessibility & contrast

On white

4.39
#B651AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#B651AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B651AF
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B651AF#FFFFFF#000000##000000
##B651AF1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B70B2
Deuteranopia (green-blind)
#6A7DAC
Tritanopia (blue-blind)
#BC5A78
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b651af;
/* rgb */ color: rgb(182, 81, 175);
/* oklch */ color: oklch(59.6% 0.174 330.2);
Tailwind
colors: {
  custom: {
    50: '#ce87c7',
    500: '#b651af',
    950: '#000000',
  },
}
SCSS
$custom: #b651af;
$custom-light: #ce87c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b651af",
  "rgb": {
    "r": 182,
    "g": 81,
    "b": 175
  },
  "hsl": {
    "h": 304.158,
    "s": 40.891,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59634,
    "c": 0.17356,
    "h": 330.2
  },
  "luminance": 0.18925
}

Semantic roles & 50–950 ramp

primary
#B651AF
secondary
#9BC89E
accent
#D15F57
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #B651AF

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

Preview Lab → · Contrast checker → · Palette generator →

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