#B951CD#B951CD

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

Color values

HEX#B951CD
RGBrgb(185, 81, 205)
HSLhsl(290, 55%, 56%)
HSVhsv(290, 60%, 80%)
CMYKcmyk(9.8%, 60.5%, 0%, 19.6%)
CIE-LABlab(52.52, 59.49, -45.77)
CIE-LCHlch(52.52, 75.06, 322.42°)
OKLaboklab(61.61% 0.1568 -0.1275)
OKLCHoklch(61.61% 0.202 320.9)
XYZxyz(33.9682, 20.6085, 59.9344)
Luminance0.2061 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B951CD #65CD51
analogous
#7B51CD #B951CD #CD51A3
triadic
#B951CD #CDB951 #51CDB9
tetradic
#B951CD #CD7B51 #65CD51 #51A3CD
square
#B951CD #CD7B51 #65CD51 #51A3CD
split-complementary
#B951CD #A3CD51 #51CD7B
monochromatic
#70257F #9B32AF #B951CD #CC81DB #DFB0E8

Accessibility & contrast

On white

4.10
#B951CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#B951CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B951CD
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B951CD#FFFFFF#000000##000000
##B951CD1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3576D1
Deuteranopia (green-blind)
#5D81CA
Tritanopia (blue-blind)
#BA6488
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b951cd;
/* rgb */ color: rgb(185, 81, 205);
/* oklch */ color: oklch(61.6% 0.202 320.9);
Tailwind
colors: {
  custom: {
    50: '#d188dd',
    500: '#b951cd',
    950: '#000000',
  },
}
SCSS
$custom: #b951cd;
$custom-light: #d188dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b951cd",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 290.323,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61607,
    "c": 0.20207,
    "h": 320.9
  },
  "luminance": 0.20607
}

Semantic roles & 50–950 ramp

primary
#B951CD
secondary
#ACD7A3
accent
#DF4961
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B951CD

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

Preview Lab → · Contrast checker → · Palette generator →

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