#B296BA#B296BA

#B296BA is a light, moderate purple. Relative luminance 0.348; OKLCH L 71.0% C 0.060 H 318.7°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#B296BA
RGBrgb(178, 150, 186)
HSLhsl(287, 21%, 66%)
HSVhsv(287, 19%, 73%)
CMYKcmyk(4.3%, 19.4%, 0%, 27.1%)
CIE-LABlab(65.61, 16.98, -14.77)
CIE-LCHlch(65.61, 22.51, 318.98°)
OKLaboklab(71.01% 0.0452 -0.0398)
OKLCHoklch(71.01% 0.06 318.7)
XYZxyz(38.1281, 34.8234, 51.1579)
Luminance0.3482 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B296BA #9EBA96
analogous
#A096BA #B296BA #BA96B0
triadic
#B296BA #BAB296 #96BAB2
tetradic
#B296BA #BAA096 #9EBA96 #96B0BA
square
#B296BA #BAA096 #9EBA96 #96B0BA
split-complementary
#B296BA #B0BA96 #96BAA0
monochromatic
#775581 #9771A2 #B296BA #CDBBD2 #E8E0EB

Accessibility & contrast

On white

2.64
#B296BA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#B296BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B296BA
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B296BA#FFFFFF#000000##000000
##B296BA1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#929DBC
Deuteranopia (green-blind)
#98A0B9
Tritanopia (blue-blind)
#B29AA2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b296ba;
/* rgb */ color: rgb(178, 150, 186);
/* oklch */ color: oklch(71.0% 0.060 318.7);
Tailwind
colors: {
  custom: {
    50: '#c9b5ce',
    500: '#b296ba',
    950: '#000000',
  },
}
SCSS
$custom: #b296ba;
$custom-light: #c9b5ce;
$custom-dark: #000000;
JSON
{
  "hex": "#b296ba",
  "rgb": {
    "r": 178,
    "g": 150,
    "b": 186
  },
  "hsl": {
    "h": 286.667,
    "s": 20.69,
    "l": 65.882
  },
  "oklch": {
    "l": 0.71009,
    "c": 0.06025,
    "h": 318.7
  },
  "luminance": 0.34823
}

Semantic roles & 50–950 ramp

primary
#B296BA
secondary
#D3DCD0
accent
#9F465A
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#131113
muted
#828082

Preview Lab

Preview with #B296BA

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

Preview Lab → · Contrast checker → · Palette generator →

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