#B951CE#B951CE

#B951CE is a mid, highly saturated purple. Relative luminance 0.207; OKLCH L 61.7% C 0.203 H 320.6°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#B951CE
RGBrgb(185, 81, 206)
HSLhsl(290, 56%, 56%)
HSVhsv(290, 61%, 81%)
CMYKcmyk(10.2%, 60.7%, 0%, 19.2%)
CIE-LABlab(52.57, 59.68, -46.26)
CIE-LCHlch(52.57, 75.51, 322.22°)
OKLaboklab(61.66% 0.1568 -0.1289)
OKLCHoklch(61.66% 0.203 320.6)
XYZxyz(34.0893, 20.6570, 60.5721)
Luminance0.2066 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B951CE #66CE51
analogous
#7B51CE #B951CE #CE51A5
triadic
#B951CE #CEB951 #51CEB9
tetradic
#B951CE #CE7B51 #66CE51 #51A5CE
square
#B951CE #CE7B51 #66CE51 #51A5CE
split-complementary
#B951CE #A5CE51 #51CE7B
monochromatic
#712480 #9B32B0 #B951CE #CC81DB #DFB1E9

Accessibility & contrast

On white

4.09
#B951CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#B951CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B951CE
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B951CE#FFFFFF#000000##000000
##B951CE1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3476D2
Deuteranopia (green-blind)
#5D81CB
Tritanopia (blue-blind)
#BA6588
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b951ce;
/* rgb */ color: rgb(185, 81, 206);
/* oklch */ color: oklch(61.7% 0.203 320.6);
Tailwind
colors: {
  custom: {
    50: '#d188dd',
    500: '#b951ce',
    950: '#000000',
  },
}
SCSS
$custom: #b951ce;
$custom-light: #d188dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b951ce",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 206
  },
  "hsl": {
    "h": 289.92,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61664,
    "c": 0.20299,
    "h": 320.6
  },
  "luminance": 0.20655
}

Semantic roles & 50–950 ramp

primary
#B951CE
secondary
#ACD7A4
accent
#DF4862
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B951CE

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

Preview Lab → · Contrast checker → · Palette generator →

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