#B951C2#B951C2

#B951C2 is a mid, vivid purple. Relative luminance 0.201; OKLCH L 61.0% C 0.192 H 324.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B951C2
RGBrgb(185, 81, 194)
HSLhsl(295, 48%, 54%)
HSVhsv(295, 58%, 76%)
CMYKcmyk(4.6%, 58.2%, 0%, 23.9%)
CIE-LABlab(51.95, 57.44, -40.36)
CIE-LCHlch(51.95, 70.20, 324.90°)
OKLaboklab(61.01% 0.1562 -0.1117)
OKLCHoklch(61.01% 0.192 324.4)
XYZxyz(32.6868, 20.0960, 53.1857)
Luminance0.2009 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B951C2 #5AC251
analogous
#8151C2 #B951C2 #C25193
triadic
#B951C2 #C2B951 #51C2B9
tetradic
#B951C2 #C28151 #5AC251 #5193C2
square
#B951C2 #C28151 #5AC251 #5193C2
split-complementary
#B951C2 #93C251 #51C281
monochromatic
#6B2871 #96379E #B951C2 #CB7ED2 #DDACE2

Accessibility & contrast

On white

4.18
#B951C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#B951C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B951C2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B951C2#FFFFFF#000000##000000
##B951C21.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F74C6
Deuteranopia (green-blind)
#6380BF
Tritanopia (blue-blind)
#BD6082
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b951c2;
/* rgb */ color: rgb(185, 81, 194);
/* oklch */ color: oklch(61.0% 0.192 324.4);
Tailwind
colors: {
  custom: {
    50: '#d188d5',
    500: '#b951c2',
    950: '#000000',
  },
}
SCSS
$custom: #b951c2;
$custom-light: #d188d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b951c2",
  "rgb": {
    "r": 185,
    "g": 81,
    "b": 194
  },
  "hsl": {
    "h": 295.221,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61005,
    "c": 0.19203,
    "h": 324.4
  },
  "luminance": 0.20094
}

Semantic roles & 50–950 ramp

primary
#B951C2
secondary
#A3D09F
accent
#D8505B
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #B951C2

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

Preview Lab → · Contrast checker → · Palette generator →

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