#B958BC#B958BC

#B958BC is a mid, vivid purple. Relative luminance 0.209; OKLCH L 61.6% C 0.176 H 326.3°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#B958BC
RGBrgb(185, 88, 188)
HSLhsl(298, 43%, 54%)
HSVhsv(298, 53%, 74%)
CMYKcmyk(1.6%, 53.2%, 0%, 26.3%)
CIE-LABlab(52.87, 53.05, -35.45)
CIE-LCHlch(52.87, 63.81, 326.25°)
OKLaboklab(61.59% 0.1464 -0.0976)
OKLCHoklch(61.59% 0.176 326.3)
XYZxyz(32.5738, 20.9264, 49.8907)
Luminance0.2092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B958BC #5BBC58
analogous
#8758BC #B958BC #BC588D
triadic
#B958BC #BCB958 #58BCB9
tetradic
#B958BC #BC8758 #5BBC58 #588DBC
square
#B958BC #BC8758 #5BBC58 #588DBC
split-complementary
#B958BC #8DBC58 #58BC87
monochromatic
#6C2C6E #973E99 #B958BC #CB84CE #DEAFDF

Accessibility & contrast

On white

4.05
#B958BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#B958BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B958BC
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B958BC#FFFFFF#000000##000000
##B958BC1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D76BF
Deuteranopia (green-blind)
#6B83B9
Tritanopia (blue-blind)
#BD6482
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b958bc;
/* rgb */ color: rgb(185, 88, 188);
/* oklch */ color: oklch(61.6% 0.176 326.3);
Tailwind
colors: {
  custom: {
    50: '#d08cd0',
    500: '#b958bc',
    950: '#000000',
  },
}
SCSS
$custom: #b958bc;
$custom-light: #d08cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#b958bc",
  "rgb": {
    "r": 185,
    "g": 88,
    "b": 188
  },
  "hsl": {
    "h": 298.2,
    "s": 42.735,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61585,
    "c": 0.17596,
    "h": 326.3
  },
  "luminance": 0.20925
}

Semantic roles & 50–950 ramp

primary
#B958BC
secondary
#A4CDA3
accent
#D35559
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #B958BC

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

Preview Lab → · Contrast checker → · Palette generator →

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