#B951DF#B951DF

#B951DF is a light, highly saturated purple. Relative luminance 0.215; OKLCH L 62.7% C 0.219 H 315.8°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B951DF
RGBrgb(185, 81, 223)
HSLhsl(284, 69%, 60%)
HSVhsv(284, 64%, 87%)
CMYKcmyk(17%, 63.7%, 0%, 12.5%)
CIE-LABlab(53.52, 62.99, -54.41)
CIE-LCHlch(53.52, 83.24, 319.18°)
OKLaboklab(62.66% 0.1569 -0.1527)
OKLCHoklch(62.66% 0.219 315.8)
XYZxyz(36.2672, 21.5282, 72.0427)
Luminance0.2153 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B951DF #77DF51
analogous
#7251DF #B951DF #DF51BE
triadic
#B951DF #DFB951 #51DFB9
tetradic
#B951DF #DF7251 #77DF51 #51BEDF
square
#B951DF #DF7251 #77DF51 #51BEDF
split-complementary
#B951DF #BEDF51 #51DF72
monochromatic
#781C99 #A026CD #B951DF #CE85E9 #E3B8F2

Accessibility & contrast

On white

3.96
#B951DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#B951DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B951DF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B951DF#FFFFFF#000000##000000
##B951DF1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#187AE3
Deuteranopia (green-blind)
#5083DC
Tritanopia (blue-blind)
#B76B91
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b951df;
/* rgb */ color: rgb(185, 81, 223);
/* oklch */ color: oklch(62.7% 0.219 315.8);
Tailwind
colors: {
  custom: {
    50: '#d288ea',
    500: '#b951df',
    950: '#000000',
  },
}
SCSS
$custom: #b951df;
$custom-light: #d288ea;
$custom-dark: #000000;
JSON
{
  "hex": "#b951df",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 283.944,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.62659,
    "c": 0.21893,
    "h": 315.8
  },
  "luminance": 0.21527
}

Semantic roles & 50–950 ramp

primary
#B951DF
secondary
#B9E1AA
accent
#EC3C6B
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B951DF

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

Preview Lab → · Contrast checker → · Palette generator →

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