#B951C4#B951C4

#B951C4 is a mid, vivid purple. Relative luminance 0.202; OKLCH L 61.1% C 0.194 H 323.7°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#B951C4
RGBrgb(185, 81, 196)
HSLhsl(294, 49%, 54%)
HSVhsv(294, 59%, 77%)
CMYKcmyk(5.6%, 58.7%, 0%, 23.1%)
CIE-LABlab(52.05, 57.80, -41.35)
CIE-LCHlch(52.05, 71.07, 324.42°)
OKLaboklab(61.11% 0.1563 -0.1146)
OKLCHoklch(61.11% 0.194 323.7)
XYZxyz(32.9129, 20.1864, 54.3766)
Luminance0.2019 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B951C4 #5CC451
analogous
#8051C4 #B951C4 #C45196
triadic
#B951C4 #C4B951 #51C4B9
tetradic
#B951C4 #C48051 #5CC451 #5196C4
square
#B951C4 #C48051 #5CC451 #5196C4
split-complementary
#B951C4 #96C451 #51C480
monochromatic
#6C2773 #9737A1 #B951C4 #CB7FD3 #DEACE3

Accessibility & contrast

On white

4.17
#B951C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#B951C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B951C4
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B951C4#FFFFFF#000000##000000
##B951C41.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D74C8
Deuteranopia (green-blind)
#6280C1
Tritanopia (blue-blind)
#BC6183
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b951c4;
/* rgb */ color: rgb(185, 81, 196);
/* oklch */ color: oklch(61.1% 0.194 323.7);
Tailwind
colors: {
  custom: {
    50: '#d188d6',
    500: '#b951c4',
    950: '#000000',
  },
}
SCSS
$custom: #b951c4;
$custom-light: #d188d6;
$custom-dark: #000000;
JSON
{
  "hex": "#b951c4",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 196
  },
  "hsl": {
    "h": 294.261,
    "s": 49.356,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61112,
    "c": 0.19384,
    "h": 323.7
  },
  "luminance": 0.20185
}

Semantic roles & 50–950 ramp

primary
#B951C4
secondary
#A5D1A0
accent
#D94F5C
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #B951C4

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

Preview Lab → · Contrast checker → · Palette generator →

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