#B951CC#B951CC

#B951CC is a mid, highly saturated purple. Relative luminance 0.206; OKLCH L 61.6% C 0.201 H 321.2°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B951CC
RGBrgb(185, 81, 204)
HSLhsl(291, 55%, 56%)
HSVhsv(291, 60%, 80%)
CMYKcmyk(9.3%, 60.3%, 0%, 20%)
CIE-LABlab(52.47, 59.30, -45.29)
CIE-LCHlch(52.47, 74.61, 322.63°)
OKLaboklab(61.55% 0.1568 -0.126)
OKLCHoklch(61.55% 0.201 321.2)
XYZxyz(33.8479, 20.5604, 59.3007)
Luminance0.2056 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B951CC #64CC51
analogous
#7B51CC #B951CC #CC51A1
triadic
#B951CC #CCB951 #51CCB9
tetradic
#B951CC #CC7B51 #64CC51 #51A1CC
square
#B951CC #CC7B51 #64CC51 #51A1CC
split-complementary
#B951CC #A1CC51 #51CC7B
monochromatic
#70257E #9A33AD #B951CC #CC80DA #DFB0E8

Accessibility & contrast

On white

4.11
#B951CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#B951CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B951CC
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B951CC#FFFFFF#000000##000000
##B951CC1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3676D0
Deuteranopia (green-blind)
#5E81C9
Tritanopia (blue-blind)
#BB6487
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b951cc;
/* rgb */ color: rgb(185, 81, 204);
/* oklch */ color: oklch(61.6% 0.201 321.2);
Tailwind
colors: {
  custom: {
    50: '#d188dc',
    500: '#b951cc',
    950: '#000000',
  },
}
SCSS
$custom: #b951cc;
$custom-light: #d188dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b951cc",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 290.732,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61551,
    "c": 0.20115,
    "h": 321.2
  },
  "luminance": 0.20559
}

Semantic roles & 50–950 ramp

primary
#B951CC
secondary
#ABD6A3
accent
#DE4A61
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B951CC

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

Preview Lab → · Contrast checker → · Palette generator →

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