#B951D7#B951D7

#B951D7 is a light, highly saturated purple. Relative luminance 0.211; OKLCH L 62.2% C 0.211 H 318.0°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#B951D7
RGBrgb(185, 81, 215)
HSLhsl(287, 63%, 58%)
HSVhsv(287, 62%, 84%)
CMYKcmyk(14%, 62.3%, 0%, 15.7%)
CIE-LABlab(53.07, 61.41, -50.60)
CIE-LCHlch(53.07, 79.58, 320.51°)
OKLaboklab(62.18% 0.157 -0.1415)
OKLCHoklch(62.18% 0.211 318)
XYZxyz(35.2140, 21.1069, 66.4959)
Luminance0.2110 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B951D7 #6FD751
analogous
#7651D7 #B951D7 #D751B2
triadic
#B951D7 #D7B951 #51D7B9
tetradic
#B951D7 #D77651 #6FD751 #51B2D7
square
#B951D7 #D77651 #6FD751 #51B2D7
split-complementary
#B951D7 #B2D751 #51D776
monochromatic
#75208D #9E2CBF #B951D7 #CD83E2 #E1B5EE

Accessibility & contrast

On white

4.02
#B951D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#B951D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B951D7
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B951D7#FFFFFF#000000##000000
##B951D71.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2878DB
Deuteranopia (green-blind)
#5682D4
Tritanopia (blue-blind)
#B8688D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b951d7;
/* rgb */ color: rgb(185, 81, 215);
/* oklch */ color: oklch(62.2% 0.211 318.0);
Tailwind
colors: {
  custom: {
    50: '#d188e4',
    500: '#b951d7',
    950: '#000000',
  },
}
SCSS
$custom: #b951d7;
$custom-light: #d188e4;
$custom-dark: #000000;
JSON
{
  "hex": "#b951d7",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 215
  },
  "hsl": {
    "h": 286.567,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.62182,
    "c": 0.21139,
    "h": 318
  },
  "luminance": 0.21105
}

Semantic roles & 50–950 ramp

primary
#B951D7
secondary
#B3DDA7
accent
#E64267
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B951D7

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

Preview Lab → · Contrast checker → · Palette generator →

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