#B95CB3#B95CB3

#B95CB3 is a mid, vivid purple. Relative luminance 0.212; OKLCH L 61.7% C 0.161 H 329.8°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#B95CB3
RGBrgb(185, 92, 179)
HSLhsl(304, 40%, 54%)
HSVhsv(304, 50%, 73%)
CMYKcmyk(0%, 50.3%, 3.2%, 27.5%)
CIE-LABlab(53.20, 49.48, -29.73)
CIE-LCHlch(53.20, 57.72, 329.00°)
OKLaboklab(61.69% 0.1395 -0.0813)
OKLCHoklch(61.69% 0.161 329.8)
XYZxyz(31.9711, 21.2252, 45.0520)
Luminance0.2122 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B95CB3 #5CB962
analogous
#915CB9 #B95CB3 #B95C85
triadic
#B95CB3 #B3B95C #5CB3B9
tetradic
#B95CB3 #B9915C #5CB962 #5C85B9
square
#B95CB3 #B9915C #5CB962 #5C85B9
split-complementary
#B95CB3 #85B95C #5CB991
monochromatic
#6C2E68 #974191 #B95CB3 #CB87C7 #DEB2DB

Accessibility & contrast

On white

4.00
#B95CB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#B95CB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B95CB3
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B95CB3#FFFFFF#000000##000000
##B95CB31.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5777B6
Deuteranopia (green-blind)
#7284B0
Tritanopia (blue-blind)
#BF647F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b95cb3;
/* rgb */ color: rgb(185, 92, 179);
/* oklch */ color: oklch(61.7% 0.161 329.8);
Tailwind
colors: {
  custom: {
    50: '#d08eca',
    500: '#b95cb3',
    950: '#000000',
  },
}
SCSS
$custom: #b95cb3;
$custom-light: #d08eca;
$custom-dark: #000000;
JSON
{
  "hex": "#b95cb3",
  "rgb": {
    "r": 185,
    "g": 92,
    "b": 179
  },
  "hsl": {
    "h": 303.871,
    "s": 39.914,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61692,
    "c": 0.16143,
    "h": 329.8
  },
  "luminance": 0.21223
}

Semantic roles & 50–950 ramp

primary
#B95CB3
secondary
#A5CCA7
accent
#D06058
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #B95CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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