#B95CB2#B95CB2

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

Color values

HEX#B95CB2
RGBrgb(185, 92, 178)
HSLhsl(305, 40%, 54%)
HSVhsv(305, 50%, 73%)
CMYKcmyk(0%, 50.3%, 3.8%, 27.5%)
CIE-LABlab(53.15, 49.30, -29.22)
CIE-LCHlch(53.15, 57.31, 329.35°)
OKLaboklab(61.65% 0.1393 -0.0798)
OKLCHoklch(61.65% 0.161 330.2)
XYZxyz(31.8703, 21.1848, 44.5213)
Luminance0.2118 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B95CB2 #5CB963
analogous
#925CB9 #B95CB2 #B95C84
triadic
#B95CB2 #B2B95C #5CB2B9
tetradic
#B95CB2 #B9925C #5CB963 #5C84B9
square
#B95CB2 #B9925C #5CB963 #5C84B9
split-complementary
#B95CB2 #84B95C #5CB992
monochromatic
#6C2E68 #974190 #B95CB2 #CB87C6 #DEB2DA

Accessibility & contrast

On white

4.01
#B95CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B95CB2#FFFFFF#000000##000000
##B95CB21.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b95cb2;
/* rgb */ color: rgb(185, 92, 178);
/* oklch */ color: oklch(61.6% 0.161 330.2);
Tailwind
colors: {
  custom: {
    50: '#d08ec9',
    500: '#b95cb2',
    950: '#000000',
  },
}
SCSS
$custom: #b95cb2;
$custom-light: #d08ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#b95cb2",
  "rgb": {
    "r": 185,
    "g": 92,
    "b": 178
  },
  "hsl": {
    "h": 304.516,
    "s": 39.914,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61645,
    "c": 0.16055,
    "h": 330.2
  },
  "luminance": 0.21183
}

Semantic roles & 50–950 ramp

primary
#B95CB2
secondary
#A5CCA8
accent
#D06158
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #B95CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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