#B95DB2#B95DB2

#B95DB2 is a mid, vivid purple. Relative luminance 0.214; OKLCH L 61.8% C 0.159 H 330.2°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#B95DB2
RGBrgb(185, 93, 178)
HSLhsl(305, 40%, 55%)
HSVhsv(305, 50%, 73%)
CMYKcmyk(0%, 49.7%, 3.8%, 27.5%)
CIE-LABlab(53.34, 48.80, -28.92)
CIE-LCHlch(53.34, 56.73, 329.34°)
OKLaboklab(61.79% 0.1379 -0.079)
OKLCHoklch(61.79% 0.159 330.2)
XYZxyz(31.9575, 21.3592, 44.5503)
Luminance0.2136 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B95DB2 #5DB964
analogous
#925DB9 #B95DB2 #B95D84
triadic
#B95DB2 #B2B95D #5DB2B9
tetradic
#B95DB2 #B9925D #5DB964 #5D84B9
square
#B95DB2 #B9925D #5DB964 #5D84B9
split-complementary
#B95DB2 #84B95D #5DB992
monochromatic
#6D2F68 #974191 #B95DB2 #CB88C6 #DEB2DB

Accessibility & contrast

On white

3.98
#B95DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#B95DB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B95DB2
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B95DB2#FFFFFF#000000##000000
##B95DB21.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5877B5
Deuteranopia (green-blind)
#7384AF
Tritanopia (blue-blind)
#BF657F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b95db2;
/* rgb */ color: rgb(185, 93, 178);
/* oklch */ color: oklch(61.8% 0.159 330.2);
Tailwind
colors: {
  custom: {
    50: '#d08ec9',
    500: '#b95db2',
    950: '#000000',
  },
}
SCSS
$custom: #b95db2;
$custom-light: #d08ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#b95db2",
  "rgb": {
    "r": 185,
    "g": 93,
    "b": 178
  },
  "hsl": {
    "h": 304.565,
    "s": 39.655,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61785,
    "c": 0.1589,
    "h": 330.2
  },
  "luminance": 0.21357
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B95DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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