#B95CB9#B95CB9

#B95CB9 is a mid, vivid purple. Relative luminance 0.215; OKLCH L 62.0% C 0.167 H 327.4°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B95CB9
RGBrgb(185, 92, 185)
HSLhsl(300, 40%, 54%)
HSVhsv(300, 50%, 73%)
CMYKcmyk(0%, 50.3%, 0%, 27.5%)
CIE-LABlab(53.46, 50.55, -32.79)
CIE-LCHlch(53.46, 60.25, 327.04°)
OKLaboklab(61.98% 0.1405 -0.09)
OKLCHoklch(61.98% 0.167 327.4)
XYZxyz(32.5911, 21.4732, 48.3176)
Luminance0.2147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B95CB9 #5CB95C
analogous
#8B5CB9 #B95CB9 #B95C8B
triadic
#B95CB9 #B9B95C #5CB9B9
tetradic
#B95CB9 #B98B5C #5CB95C #5C8BB9
square
#B95CB9 #B98B5C #5CB95C #5C8BB9
split-complementary
#B95CB9 #8BB95C #5CB98B
monochromatic
#6C2E6C #974197 #B95CB9 #CB87CB #DEB2DE

Accessibility & contrast

On white

3.97
#B95CB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#B95CB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B95CB9
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B95CB9#FFFFFF#000000##000000
##B95CB91.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5378BC
Deuteranopia (green-blind)
#6F84B6
Tritanopia (blue-blind)
#BE6682
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b95cb9;
/* rgb */ color: rgb(185, 92, 185);
/* oklch */ color: oklch(62.0% 0.167 327.4);
Tailwind
colors: {
  custom: {
    50: '#d08ece',
    500: '#b95cb9',
    950: '#000000',
  },
}
SCSS
$custom: #b95cb9;
$custom-light: #d08ece;
$custom-dark: #000000;
JSON
{
  "hex": "#b95cb9",
  "rgb": {
    "r": 185,
    "g": 92,
    "b": 185
  },
  "hsl": {
    "h": 300,
    "s": 39.914,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61978,
    "c": 0.16685,
    "h": 327.4
  },
  "luminance": 0.21471
}

Semantic roles & 50–950 ramp

primary
#B95CB9
secondary
#A5CCA5
accent
#D05858
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140D13
muted
#837D82

Preview Lab

Preview with #B95CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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