#B95BB2#B95BB2

#B95BB2 is a mid, vivid purple. Relative luminance 0.210; OKLCH L 61.5% C 0.162 H 330.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#B95BB2
RGBrgb(185, 91, 178)
HSLhsl(304, 40%, 54%)
HSVhsv(304, 51%, 73%)
CMYKcmyk(0%, 50.8%, 3.8%, 27.5%)
CIE-LABlab(52.96, 49.80, -29.51)
CIE-LCHlch(52.96, 57.88, 329.35°)
OKLaboklab(61.51% 0.1407 -0.0806)
OKLCHoklch(61.51% 0.162 330.2)
XYZxyz(31.7843, 21.0127, 44.4926)
Luminance0.2101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B95BB2 #5BB962
analogous
#915BB9 #B95BB2 #B95B83
triadic
#B95BB2 #B2B95B #5BB2B9
tetradic
#B95BB2 #B9915B #5BB962 #5B83B9
square
#B95BB2 #B9915B #5BB962 #5B83B9
split-complementary
#B95BB2 #83B95B #5BB991
monochromatic
#6C2E67 #974090 #B95BB2 #CB86C6 #DEB1DA

Accessibility & contrast

On white

4.04
#B95BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#B95BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B95BB2
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B95BB2#FFFFFF#000000##000000
##B95BB21.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5676B5
Deuteranopia (green-blind)
#7283AF
Tritanopia (blue-blind)
#BF637E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b95bb2;
/* rgb */ color: rgb(185, 91, 178);
/* oklch */ color: oklch(61.5% 0.162 330.2);
Tailwind
colors: {
  custom: {
    50: '#d08dc9',
    500: '#b95bb2',
    950: '#000000',
  },
}
SCSS
$custom: #b95bb2;
$custom-light: #d08dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#b95bb2",
  "rgb": {
    "r": 185,
    "g": 91,
    "b": 178
  },
  "hsl": {
    "h": 304.468,
    "s": 40.171,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61506,
    "c": 0.16219,
    "h": 330.2
  },
  "luminance": 0.21011
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B95BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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