#B95EB2#B95EB2

#B95EB2 is a mid, vivid purple. Relative luminance 0.215; OKLCH L 61.9% C 0.157 H 330.2°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B95EB2
RGBrgb(185, 94, 178)
HSLhsl(305, 39%, 55%)
HSVhsv(305, 49%, 73%)
CMYKcmyk(0%, 49.2%, 3.8%, 27.5%)
CIE-LABlab(53.53, 48.30, -28.63)
CIE-LCHlch(53.53, 56.15, 329.34°)
OKLaboklab(61.93% 0.1365 -0.0781)
OKLCHoklch(61.93% 0.157 330.2)
XYZxyz(32.0459, 21.5359, 44.5798)
Luminance0.2153 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B95EB2 #5EB965
analogous
#925EB9 #B95EB2 #B95E85
triadic
#B95EB2 #B2B95E #5EB2B9
tetradic
#B95EB2 #B9925E #5EB965 #5E85B9
square
#B95EB2 #B9925E #5EB965 #5E85B9
split-complementary
#B95EB2 #85B95E #5EB992
monochromatic
#6D2F68 #984291 #B95EB2 #CC89C6 #DEB3DB

Accessibility & contrast

On white

3.96
#B95EB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#B95EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B95EB2
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B95EB2#FFFFFF#000000##000000
##B95EB21.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5978B5
Deuteranopia (green-blind)
#7484AF
Tritanopia (blue-blind)
#BF6680
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b95eb2;
/* rgb */ color: rgb(185, 94, 178);
/* oklch */ color: oklch(61.9% 0.157 330.2);
Tailwind
colors: {
  custom: {
    50: '#d08fc9',
    500: '#b95eb2',
    950: '#000000',
  },
}
SCSS
$custom: #b95eb2;
$custom-light: #d08fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#b95eb2",
  "rgb": {
    "r": 185,
    "g": 94,
    "b": 178
  },
  "hsl": {
    "h": 304.615,
    "s": 39.394,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61926,
    "c": 0.15725,
    "h": 330.2
  },
  "luminance": 0.21534
}

Semantic roles & 50–950 ramp

primary
#B95EB2
secondary
#A6CDA9
accent
#CF6259
background
#FDF9FC
surface
#FAF1F8
border
#D3CBD1
text
#140D13
muted
#837E82

Preview Lab

Preview with #B95EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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