#B951CF#B951CF

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

Color values

HEX#B951CF
RGBrgb(185, 81, 207)
HSLhsl(290, 57%, 56%)
HSVhsv(290, 61%, 81%)
CMYKcmyk(10.6%, 60.9%, 0%, 18.8%)
CIE-LABlab(52.63, 59.87, -46.75)
CIE-LCHlch(52.63, 75.96, 322.02°)
OKLaboklab(61.72% 0.1569 -0.1303)
OKLCHoklch(61.72% 0.204 320.3)
XYZxyz(34.2111, 20.7057, 61.2139)
Luminance0.2070 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B951CF #67CF51
analogous
#7A51CF #B951CF #CF51A6
triadic
#B951CF #CFB951 #51CFB9
tetradic
#B951CF #CF7A51 #67CF51 #51A6CF
square
#B951CF #CF7A51 #67CF51 #51A6CF
split-complementary
#B951CF #A6CF51 #51CF7A
monochromatic
#712482 #9B31B2 #B951CF #CC81DC #E0B1E9

Accessibility & contrast

On white

4.08
#B951CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#B951CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B951CF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B951CF#FFFFFF#000000##000000
##B951CF1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3376D3
Deuteranopia (green-blind)
#5C81CC
Tritanopia (blue-blind)
#BA6589
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b951cf;
/* rgb */ color: rgb(185, 81, 207);
/* oklch */ color: oklch(61.7% 0.204 320.3);
Tailwind
colors: {
  custom: {
    50: '#d188de',
    500: '#b951cf',
    950: '#000000',
  },
}
SCSS
$custom: #b951cf;
$custom-light: #d188de;
$custom-dark: #000000;
JSON
{
  "hex": "#b951cf",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 207
  },
  "hsl": {
    "h": 289.524,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.6172,
    "c": 0.20393,
    "h": 320.3
  },
  "luminance": 0.20704
}

Semantic roles & 50–950 ramp

primary
#B951CF
secondary
#ADD8A4
accent
#E04862
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B951CF

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

Preview Lab → · Contrast checker → · Palette generator →

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