#B651D9#B651D9

#B651D9 is a mid, highly saturated purple. Relative luminance 0.208; OKLCH L 61.9% C 0.212 H 316.3°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#B651D9
RGBrgb(182, 81, 217)
HSLhsl(285, 64%, 58%)
HSVhsv(285, 63%, 85%)
CMYKcmyk(16.1%, 62.7%, 0%, 14.9%)
CIE-LABlab(52.77, 61.10, -52.23)
CIE-LCHlch(52.77, 80.38, 319.48°)
OKLaboklab(61.92% 0.1534 -0.1464)
OKLCHoklch(61.92% 0.212 316.3)
XYZxyz(34.7563, 20.8410, 67.8241)
Luminance0.2084 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B651D9 #74D951
analogous
#7251D9 #B651D9 #D951B8
triadic
#B651D9 #D9B651 #51D9B6
tetradic
#B651D9 #D97251 #74D951 #51B8D9
square
#B651D9 #D97251 #74D951 #51B8D9
split-complementary
#B651D9 #B8D951 #51D972
monochromatic
#731F90 #9B2AC2 #B651D9 #CB83E4 #E0B5EF

Accessibility & contrast

On white

4.06
#B651D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#B651D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B651D9
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B651D9#FFFFFF#000000##000000
##B651D91.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2278DD
Deuteranopia (green-blind)
#5281D6
Tritanopia (blue-blind)
#B4698E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b651d9;
/* rgb */ color: rgb(182, 81, 217);
/* oklch */ color: oklch(61.9% 0.212 316.3);
Tailwind
colors: {
  custom: {
    50: '#cf88e5',
    500: '#b651d9',
    950: '#000000',
  },
}
SCSS
$custom: #b651d9;
$custom-light: #cf88e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b651d9",
  "rgb": {
    "r": 182,
    "g": 81,
    "b": 217
  },
  "hsl": {
    "h": 284.559,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61923,
    "c": 0.21204,
    "h": 316.3
  },
  "luminance": 0.2084
}

Semantic roles & 50–950 ramp

primary
#B651D9
secondary
#B6DEA8
accent
#E7416B
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B651D9

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

Preview Lab → · Contrast checker → · Palette generator →

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