#B296CB#B296CB

#B296CB is a light, moderate violet. Relative luminance 0.356; OKLCH L 71.7% C 0.081 H 308.4°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#B296CB
RGBrgb(178, 150, 203)
HSLhsl(272, 34%, 69%)
HSVhsv(272, 26%, 80%)
CMYKcmyk(12.3%, 26.1%, 0%, 20.4%)
CIE-LABlab(66.21, 20.50, -23.36)
CIE-LCHlch(66.21, 31.08, 311.26°)
OKLaboklab(71.66% 0.0506 -0.0638)
OKLCHoklch(71.66% 0.081 308.4)
XYZxyz(40.0440, 35.5898, 61.2483)
Luminance0.3559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B296CB #AFCB96
analogous
#9896CB #B296CB #CB96CA
triadic
#B296CB #CBB296 #96CBB2
tetradic
#B296CB #CB9896 #AFCB96 #96CACB
square
#B296CB #CB9896 #AFCB96 #96CACB
split-complementary
#B296CB #CACB96 #96CB98
monochromatic
#764C9A #946DB7 #B296CB #D0BFDF #EEE8F4

Accessibility & contrast

On white

2.59
#B296CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#B296CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B296CB
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B296CB#FFFFFF#000000##000000
##B296CB1.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA0CD
Deuteranopia (green-blind)
#93A1C9
Tritanopia (blue-blind)
#AF9DA9
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b296cb;
/* rgb */ color: rgb(178, 150, 203);
/* oklch */ color: oklch(71.7% 0.081 308.4);
Tailwind
colors: {
  custom: {
    50: '#c9b5db',
    500: '#b296cb',
    950: '#000000',
  },
}
SCSS
$custom: #b296cb;
$custom-light: #c9b5db;
$custom-dark: #000000;
JSON
{
  "hex": "#b296cb",
  "rgb": {
    "r": 178,
    "g": 150,
    "b": 203
  },
  "hsl": {
    "h": 271.698,
    "s": 33.758,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71663,
    "c": 0.08142,
    "h": 308.4
  },
  "luminance": 0.35589
}

Semantic roles & 50–950 ramp

primary
#B296CB
secondary
#DEE6D7
accent
#AD396F
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#131115
muted
#828083

Preview Lab

Preview with #B296CB

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

Preview Lab → · Contrast checker → · Palette generator →

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