#B95FAB#B95FAB

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

Color values

HEX#B95FAB
RGBrgb(185, 95, 171)
HSLhsl(309, 39%, 55%)
HSVhsv(309, 49%, 73%)
CMYKcmyk(0%, 48.6%, 7.6%, 27.5%)
CIE-LABlab(53.43, 46.57, -24.72)
CIE-LCHlch(53.43, 52.73, 332.04°)
OKLaboklab(61.75% 0.1336 -0.067)
OKLCHoklch(61.75% 0.149 333.3)
XYZxyz(31.4504, 21.4410, 41.0022)
Luminance0.2144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B95FAB #5FB96D
analogous
#9A5FB9 #B95FAB #B95F7E
triadic
#B95FAB #ABB95F #5FABB9
tetradic
#B95FAB #B99A5F #5FB96D #5F7EB9
square
#B95FAB #B99A5F #5FB96D #5F7EB9
split-complementary
#B95FAB #7EB95F #5FB99A
monochromatic
#6E3064 #98438B #B95FAB #CC8AC1 #DEB4D8

Accessibility & contrast

On white

3.97
#B95FAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#B95FAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B95FAB
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B95FAB#FFFFFF#000000##000000
##B95FAB1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E77AE
Deuteranopia (green-blind)
#7784A8
Tritanopia (blue-blind)
#C0647D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b95fab;
/* rgb */ color: rgb(185, 95, 171);
/* oklch */ color: oklch(61.8% 0.149 333.3);
Tailwind
colors: {
  custom: {
    50: '#d08fc4',
    500: '#b95fab',
    950: '#000000',
  },
}
SCSS
$custom: #b95fab;
$custom-light: #d08fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#b95fab",
  "rgb": {
    "r": 185,
    "g": 95,
    "b": 171
  },
  "hsl": {
    "h": 309.333,
    "s": 39.13,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61753,
    "c": 0.14947,
    "h": 333.3
  },
  "luminance": 0.21439
}

Semantic roles & 50–950 ramp

primary
#B95FAB
secondary
#A7CDAD
accent
#CF6B59
background
#FDF9FC
surface
#FAF1F8
border
#D3CBD1
text
#140D12
muted
#837E81

Preview Lab

Preview with #B95FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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