#B951C1#B951C1

#B951C1 is a mid, vivid purple. Relative luminance 0.200; OKLCH L 61.0% C 0.191 H 324.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#B951C1
RGBrgb(185, 81, 193)
HSLhsl(296, 47%, 54%)
HSVhsv(296, 58%, 76%)
CMYKcmyk(4.1%, 58%, 0%, 24.3%)
CIE-LABlab(51.90, 57.26, -39.87)
CIE-LCHlch(51.90, 69.77, 325.15°)
OKLaboklab(60.95% 0.1561 -0.1103)
OKLCHoklch(60.95% 0.191 324.7)
XYZxyz(32.5749, 20.0512, 52.5962)
Luminance0.2005 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B951C1 #59C151
analogous
#8151C1 #B951C1 #C15191
triadic
#B951C1 #C1B951 #51C1B9
tetradic
#B951C1 #C18151 #59C151 #5191C1
square
#B951C1 #C18151 #59C151 #5191C1
split-complementary
#B951C1 #91C151 #51C181
monochromatic
#6B2870 #96389D #B951C1 #CB7ED1 #DDABE1

Accessibility & contrast

On white

4.19
#B951C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#B951C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B951C1
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B951C1#FFFFFF#000000##000000
##B951C11.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4074C4
Deuteranopia (green-blind)
#6480BE
Tritanopia (blue-blind)
#BD6081
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b951c1;
/* rgb */ color: rgb(185, 81, 193);
/* oklch */ color: oklch(61.0% 0.191 324.7);
Tailwind
colors: {
  custom: {
    50: '#d188d4',
    500: '#b951c1',
    950: '#000000',
  },
}
SCSS
$custom: #b951c1;
$custom-light: #d188d4;
$custom-dark: #000000;
JSON
{
  "hex": "#b951c1",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 193
  },
  "hsl": {
    "h": 295.714,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60951,
    "c": 0.19113,
    "h": 324.7
  },
  "luminance": 0.20049
}

Semantic roles & 50–950 ramp

primary
#B951C1
secondary
#A2CF9F
accent
#D7515A
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #B951C1

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

Preview Lab → · Contrast checker → · Palette generator →

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