#B651B2#B651B2

#B651B2 is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.8% C 0.176 H 329.0°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#B651B2
RGBrgb(182, 81, 178)
HSLhsl(302, 41%, 52%)
HSVhsv(302, 55%, 71%)
CMYKcmyk(0%, 55.5%, 2.2%, 28.6%)
CIE-LABlab(50.74, 53.77, -33.01)
CIE-LCHlch(50.74, 63.09, 328.46°)
OKLaboklab(59.78% 0.1511 -0.0906)
OKLCHoklch(59.78% 0.176 329)
XYZxyz(30.2694, 19.0462, 44.1928)
Luminance0.1904 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B651B2 #51B655
analogous
#8851B6 #B651B2 #B65180
triadic
#B651B2 #B2B651 #51B2B6
tetradic
#B651B2 #B68851 #51B655 #5180B6
square
#B651B2 #B68851 #51B655 #5180B6
split-complementary
#B651B2 #80B651 #51B688
monochromatic
#632A61 #8E3C8B #B651B2 #C87CC5 #DAA7D8

Accessibility & contrast

On white

4.37
#B651B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#B651B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B651B2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B651B2#FFFFFF#000000##000000
##B651B21.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4970B5
Deuteranopia (green-blind)
#697EAF
Tritanopia (blue-blind)
#BC5B7A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b651b2;
/* rgb */ color: rgb(182, 81, 178);
/* oklch */ color: oklch(59.8% 0.176 329.0);
Tailwind
colors: {
  custom: {
    50: '#ce87c9',
    500: '#b651b2',
    950: '#000000',
  },
}
SCSS
$custom: #b651b2;
$custom-light: #ce87c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b651b2",
  "rgb": {
    "r": 182,
    "g": 81,
    "b": 178
  },
  "hsl": {
    "h": 302.376,
    "s": 40.891,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59782,
    "c": 0.17615,
    "h": 329
  },
  "luminance": 0.19044
}

Semantic roles & 50–950 ramp

primary
#B651B2
secondary
#9BC89D
accent
#D15C57
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #B651B2

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

Preview Lab → · Contrast checker → · Palette generator →

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