#B95CB5#B95CB5

#B95CB5 is a mid, vivid purple. Relative luminance 0.213; OKLCH L 61.8% C 0.163 H 329.0°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#B95CB5
RGBrgb(185, 92, 181)
HSLhsl(303, 40%, 54%)
HSVhsv(303, 50%, 73%)
CMYKcmyk(0%, 50.3%, 2.2%, 27.5%)
CIE-LABlab(53.28, 49.83, -30.75)
CIE-LCHlch(53.28, 58.56, 328.32°)
OKLaboklab(61.79% 0.1398 -0.0842)
OKLCHoklch(61.79% 0.163 329)
XYZxyz(32.1748, 21.3066, 46.1250)
Luminance0.2130 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B95CB5 #5CB960
analogous
#8F5CB9 #B95CB5 #B95C87
triadic
#B95CB5 #B5B95C #5CB5B9
tetradic
#B95CB5 #B98F5C #5CB960 #5C87B9
square
#B95CB5 #B98F5C #5CB960 #5C87B9
split-complementary
#B95CB5 #87B95C #5CB98F
monochromatic
#6C2E6A #974193 #B95CB5 #CB87C8 #DEB2DC

Accessibility & contrast

On white

3.99
#B95CB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#B95CB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B95CB5
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B95CB5#FFFFFF#000000##000000
##B95CB51.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5577B8
Deuteranopia (green-blind)
#7184B2
Tritanopia (blue-blind)
#BF6580
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b95cb5;
/* rgb */ color: rgb(185, 92, 181);
/* oklch */ color: oklch(61.8% 0.163 329.0);
Tailwind
colors: {
  custom: {
    50: '#d08ecb',
    500: '#b95cb5',
    950: '#000000',
  },
}
SCSS
$custom: #b95cb5;
$custom-light: #d08ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#b95cb5",
  "rgb": {
    "r": 185,
    "g": 92,
    "b": 181
  },
  "hsl": {
    "h": 302.581,
    "s": 39.914,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61786,
    "c": 0.16322,
    "h": 329
  },
  "luminance": 0.21305
}

Semantic roles & 50–950 ramp

primary
#B95CB5
secondary
#A5CCA6
accent
#D05D58
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #B95CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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