#B951C7#B951C7

#B951C7 is a mid, vivid purple. Relative luminance 0.203; OKLCH L 61.3% C 0.197 H 322.8°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#B951C7
RGBrgb(185, 81, 199)
HSLhsl(293, 51%, 55%)
HSVhsv(293, 59%, 78%)
CMYKcmyk(7%, 59.3%, 0%, 22%)
CIE-LABlab(52.20, 58.36, -42.83)
CIE-LCHlch(52.20, 72.39, 323.72°)
OKLaboklab(61.28% 0.1565 -0.1189)
OKLCHoklch(61.28% 0.197 322.8)
XYZxyz(33.2578, 20.3244, 56.1930)
Luminance0.2032 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B951C7 #5FC751
analogous
#7E51C7 #B951C7 #C7519A
triadic
#B951C7 #C7B951 #51C7B9
tetradic
#B951C7 #C77E51 #5FC751 #519AC7
square
#B951C7 #C77E51 #5FC751 #519AC7
split-complementary
#B951C7 #9AC751 #51C77E
monochromatic
#6E2677 #9835A6 #B951C7 #CC7FD6 #DEAEE5

Accessibility & contrast

On white

4.15
#B951C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#B951C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B951C7
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B951C7#FFFFFF#000000##000000
##B951C71.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B75CB
Deuteranopia (green-blind)
#6181C4
Tritanopia (blue-blind)
#BC6285
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b951c7;
/* rgb */ color: rgb(185, 81, 199);
/* oklch */ color: oklch(61.3% 0.197 322.8);
Tailwind
colors: {
  custom: {
    50: '#d188d8',
    500: '#b951c7',
    950: '#000000',
  },
}
SCSS
$custom: #b951c7;
$custom-light: #d188d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b951c7",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 199
  },
  "hsl": {
    "h": 292.881,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61275,
    "c": 0.19656,
    "h": 322.8
  },
  "luminance": 0.20323
}

Semantic roles & 50–950 ramp

primary
#B951C7
secondary
#A7D3A1
accent
#DB4D5E
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #B951C7

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

Preview Lab → · Contrast checker → · Palette generator →

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