#B951C0#B951C0

#B951C0 is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.9% C 0.190 H 325.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#B951C0
RGBrgb(185, 81, 192)
HSLhsl(296, 47%, 54%)
HSVhsv(296, 58%, 75%)
CMYKcmyk(3.6%, 57.8%, 0%, 24.7%)
CIE-LABlab(51.84, 57.07, -39.37)
CIE-LCHlch(51.84, 69.33, 325.40°)
OKLaboklab(60.9% 0.156 -0.1089)
OKLCHoklch(60.9% 0.19 325.1)
XYZxyz(32.4637, 20.0067, 52.0107)
Luminance0.2001 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B951C0 #58C051
analogous
#8151C0 #B951C0 #C0518F
triadic
#B951C0 #C0B951 #51C0B9
tetradic
#B951C0 #C08151 #58C051 #518FC0
square
#B951C0 #C08151 #58C051 #518FC0
split-complementary
#B951C0 #8FC051 #51C081
monochromatic
#6A286F #95389B #B951C0 #CB7ED0 #DDABE1

Accessibility & contrast

On white

4.20
#B951C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#B951C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B951C0
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B951C0#FFFFFF#000000##000000
##B951C01.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4173C3
Deuteranopia (green-blind)
#6580BD
Tritanopia (blue-blind)
#BD6081
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b951c0;
/* rgb */ color: rgb(185, 81, 192);
/* oklch */ color: oklch(60.9% 0.190 325.1);
Tailwind
colors: {
  custom: {
    50: '#d188d3',
    500: '#b951c0',
    950: '#000000',
  },
}
SCSS
$custom: #b951c0;
$custom-light: #d188d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b951c0",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 192
  },
  "hsl": {
    "h": 296.216,
    "s": 46.835,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60898,
    "c": 0.19023,
    "h": 325.1
  },
  "luminance": 0.20005
}

Semantic roles & 50–950 ramp

primary
#B951C0
secondary
#A2CE9F
accent
#D6515A
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #B951C0

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

Preview Lab → · Contrast checker → · Palette generator →

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