#B951CB#B951CB

#B951CB is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.5% C 0.200 H 321.5°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#B951CB
RGBrgb(185, 81, 203)
HSLhsl(291, 54%, 56%)
HSVhsv(291, 60%, 80%)
CMYKcmyk(8.9%, 60.1%, 0%, 20.4%)
CIE-LABlab(52.41, 59.11, -44.80)
CIE-LCHlch(52.41, 74.17, 322.84°)
OKLaboklab(61.5% 0.1567 -0.1246)
OKLCHoklch(61.5% 0.2 321.5)
XYZxyz(33.7283, 20.5126, 58.6711)
Luminance0.2051 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B951CB #63CB51
analogous
#7C51CB #B951CB #CB51A0
triadic
#B951CB #CBB951 #51CBB9
tetradic
#B951CB #CB7C51 #63CB51 #51A0CB
square
#B951CB #CB7C51 #63CB51 #51A0CB
split-complementary
#B951CB #A0CB51 #51CB7C
monochromatic
#70257C #9A33AC #B951CB #CC80D9 #DFAFE7

Accessibility & contrast

On white

4.12
#B951CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#B951CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B951CB
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B951CB#FFFFFF#000000##000000
##B951CB1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3775CF
Deuteranopia (green-blind)
#5E81C8
Tritanopia (blue-blind)
#BB6487
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b951cb;
/* rgb */ color: rgb(185, 81, 203);
/* oklch */ color: oklch(61.5% 0.200 321.5);
Tailwind
colors: {
  custom: {
    50: '#d188db',
    500: '#b951cb',
    950: '#000000',
  },
}
SCSS
$custom: #b951cb;
$custom-light: #d188db;
$custom-dark: #000000;
JSON
{
  "hex": "#b951cb",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 291.148,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61495,
    "c": 0.20023,
    "h": 321.5
  },
  "luminance": 0.20511
}

Semantic roles & 50–950 ramp

primary
#B951CB
secondary
#AAD5A3
accent
#DD4A60
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B951CB

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

Preview Lab → · Contrast checker → · Palette generator →

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