#B951D6#B951D6

#B951D6 is a light, highly saturated purple. Relative luminance 0.211; OKLCH L 62.1% C 0.210 H 318.2°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#B951D6
RGBrgb(185, 81, 214)
HSLhsl(287, 62%, 58%)
HSVhsv(287, 62%, 84%)
CMYKcmyk(13.6%, 62.1%, 0%, 16.1%)
CIE-LABlab(53.01, 61.22, -50.13)
CIE-LCHlch(53.01, 79.12, 320.69°)
OKLaboklab(62.12% 0.157 -0.1401)
OKLCHoklch(62.12% 0.21 318.2)
XYZxyz(35.0859, 21.0556, 65.8213)
Luminance0.2105 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B951D6 #6ED651
analogous
#7651D6 #B951D6 #D651B1
triadic
#B951D6 #D6B951 #51D6B9
tetradic
#B951D6 #D67651 #6ED651 #51B1D6
square
#B951D6 #D67651 #6ED651 #51B1D6
split-complementary
#B951D6 #B1D651 #51D676
monochromatic
#74218C #9E2DBD #B951D6 #CD83E2 #E1B4ED

Accessibility & contrast

On white

4.03
#B951D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#B951D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B951D6
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B951D6#FFFFFF#000000##000000
##B951D61.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A78DA
Deuteranopia (green-blind)
#5782D3
Tritanopia (blue-blind)
#B9688C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b951d6;
/* rgb */ color: rgb(185, 81, 214);
/* oklch */ color: oklch(62.1% 0.210 318.2);
Tailwind
colors: {
  custom: {
    50: '#d188e3',
    500: '#b951d6',
    950: '#000000',
  },
}
SCSS
$custom: #b951d6;
$custom-light: #d188e3;
$custom-dark: #000000;
JSON
{
  "hex": "#b951d6",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 214
  },
  "hsl": {
    "h": 286.917,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.62123,
    "c": 0.21045,
    "h": 318.2
  },
  "luminance": 0.21054
}

Semantic roles & 50–950 ramp

primary
#B951D6
secondary
#B2DCA7
accent
#E54366
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C15
muted
#837D84

Preview Lab

Preview with #B951D6

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

Preview Lab → · Contrast checker → · Palette generator →

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