#B951D9#B951D9

#B951D9 is a light, highly saturated purple. Relative luminance 0.212; OKLCH L 62.3% C 0.213 H 317.4°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#B951D9
RGBrgb(185, 81, 217)
HSLhsl(286, 64%, 58%)
HSVhsv(286, 63%, 85%)
CMYKcmyk(14.7%, 62.7%, 0%, 14.9%)
CIE-LABlab(53.18, 61.80, -51.56)
CIE-LCHlch(53.18, 80.49, 320.16°)
OKLaboklab(62.3% 0.157 -0.1443)
OKLCHoklch(62.3% 0.213 317.4)
XYZxyz(35.4726, 21.2103, 67.8576)
Luminance0.2121 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B951D9 #71D951
analogous
#7551D9 #B951D9 #D951B5
triadic
#B951D9 #D9B951 #51D9B9
tetradic
#B951D9 #D97551 #71D951 #51B5D9
square
#B951D9 #D97551 #71D951 #51B5D9
split-complementary
#B951D9 #B5D951 #51D975
monochromatic
#761F90 #9F2AC2 #B951D9 #CD83E4 #E1B5EF

Accessibility & contrast

On white

4.01
#B951D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#B951D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B951D9
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B951D9#FFFFFF#000000##000000
##B951D91.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2578DD
Deuteranopia (green-blind)
#5582D6
Tritanopia (blue-blind)
#B8698E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b951d9;
/* rgb */ color: rgb(185, 81, 217);
/* oklch */ color: oklch(62.3% 0.213 317.4);
Tailwind
colors: {
  custom: {
    50: '#d188e5',
    500: '#b951d9',
    950: '#000000',
  },
}
SCSS
$custom: #b951d9;
$custom-light: #d188e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b951d9",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 217
  },
  "hsl": {
    "h": 285.882,
    "s": 64.151,
    "l": 58.431
  },
  "oklch": {
    "l": 0.623,
    "c": 0.21327,
    "h": 317.4
  },
  "luminance": 0.21209
}

Semantic roles & 50–950 ramp

primary
#B951D9
secondary
#B5DEA8
accent
#E74168
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B951D9

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

Preview Lab → · Contrast checker → · Palette generator →

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