#B951C8#B951C8

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

Color values

HEX#B951C8
RGBrgb(185, 81, 200)
HSLhsl(292, 52%, 55%)
HSVhsv(292, 60%, 78%)
CMYKcmyk(7.5%, 59.5%, 0%, 21.6%)
CIE-LABlab(52.25, 58.55, -43.33)
CIE-LCHlch(52.25, 72.83, 323.50°)
OKLaboklab(61.33% 0.1566 -0.1203)
OKLCHoklch(61.33% 0.197 322.4)
XYZxyz(33.3743, 20.3710, 56.8064)
Luminance0.2037 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B951C8 #60C851
analogous
#7D51C8 #B951C8 #C8519B
triadic
#B951C8 #C8B951 #51C8B9
tetradic
#B951C8 #C87D51 #60C851 #519BC8
square
#B951C8 #C87D51 #60C851 #519BC8
split-complementary
#B951C8 #9BC851 #51C87D
monochromatic
#6E2679 #9935A7 #B951C8 #CC80D7 #DEAEE5

Accessibility & contrast

On white

4.14
#B951C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#B951C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B951C8
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B951C8#FFFFFF#000000##000000
##B951C81.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A75CC
Deuteranopia (green-blind)
#6081C5
Tritanopia (blue-blind)
#BB6385
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b951c8;
/* rgb */ color: rgb(185, 81, 200);
/* oklch */ color: oklch(61.3% 0.197 322.4);
Tailwind
colors: {
  custom: {
    50: '#d188d9',
    500: '#b951c8',
    950: '#000000',
  },
}
SCSS
$custom: #b951c8;
$custom-light: #d188d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b951c8",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 200
  },
  "hsl": {
    "h": 292.437,
    "s": 51.965,
    "l": 55.098
  },
  "oklch": {
    "l": 0.6133,
    "c": 0.19747,
    "h": 322.4
  },
  "luminance": 0.20369
}

Semantic roles & 50–950 ramp

primary
#B951C8
secondary
#A8D3A1
accent
#DB4C5E
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C15
muted
#837D83

Preview Lab

Preview with #B951C8

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

Preview Lab → · Contrast checker → · Palette generator →

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