#B296CC#B296CC

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

Color values

HEX#B296CC
RGBrgb(178, 150, 204)
HSLhsl(271, 35%, 69%)
HSVhsv(271, 26%, 80%)
CMYKcmyk(12.7%, 26.5%, 0%, 20%)
CIE-LABlab(66.24, 20.71, -23.86)
CIE-LCHlch(66.24, 31.60, 310.95°)
OKLaboklab(71.7% 0.0509 -0.0652)
OKLCHoklch(71.7% 0.083 308)
XYZxyz(40.1635, 35.6376, 61.8779)
Luminance0.3564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B296CC #B0CC96
analogous
#9796CC #B296CC #CC96CB
triadic
#B296CC #CCB296 #96CCB2
tetradic
#B296CC #CC9796 #B0CC96 #96CBCC
square
#B296CC #CC9796 #B0CC96 #96CBCC
split-complementary
#B296CC #CBCC96 #96CC97
monochromatic
#754C9C #946DB8 #B296CC #D0BFE0 #EEE8F4

Accessibility & contrast

On white

2.58
#B296CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#B296CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B296CC
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B296CC#FFFFFF#000000##000000
##B296CC1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA0CE
Deuteranopia (green-blind)
#92A1CA
Tritanopia (blue-blind)
#AF9DA9
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b296cc;
/* rgb */ color: rgb(178, 150, 204);
/* oklch */ color: oklch(71.7% 0.083 308.0);
Tailwind
colors: {
  custom: {
    50: '#c9b5db',
    500: '#b296cc',
    950: '#000000',
  },
}
SCSS
$custom: #b296cc;
$custom-light: #c9b5db;
$custom-dark: #000000;
JSON
{
  "hex": "#b296cc",
  "rgb": {
    "r": 178,
    "g": 150,
    "b": 204
  },
  "hsl": {
    "h": 271.111,
    "s": 34.615,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71704,
    "c": 0.08271,
    "h": 308
  },
  "luminance": 0.35637
}

Semantic roles & 50–950 ramp

primary
#B296CC
secondary
#DFE7D7
accent
#AD3871
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #B296CC

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

Preview Lab → · Contrast checker → · Palette generator →

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