#B296CA#B296CA

#B296CA is a light, moderate violet. Relative luminance 0.355; OKLCH L 71.6% C 0.080 H 308.9°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#B296CA
RGBrgb(178, 150, 202)
HSLhsl(272, 33%, 69%)
HSVhsv(272, 26%, 79%)
CMYKcmyk(11.9%, 25.7%, 0%, 20.8%)
CIE-LABlab(66.17, 20.29, -22.86)
CIE-LCHlch(66.17, 30.57, 311.58°)
OKLaboklab(71.62% 0.0503 -0.0624)
OKLCHoklch(71.62% 0.08 308.9)
XYZxyz(39.9252, 35.5422, 60.6227)
Luminance0.3554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B296CA #AECA96
analogous
#9896CA #B296CA #CA96C8
triadic
#B296CA #CAB296 #96CAB2
tetradic
#B296CA #CA9896 #AECA96 #96C8CA
square
#B296CA #CA9896 #AECA96 #96C8CA
split-complementary
#B296CA #C8CA96 #96CA98
monochromatic
#764D99 #946DB5 #B296CA #D0BFDF #EEE7F3

Accessibility & contrast

On white

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

On black

8.11
#B296CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B296CA
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B296CA#FFFFFF#000000##000000
##B296CA1.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA0CC
Deuteranopia (green-blind)
#93A1C8
Tritanopia (blue-blind)
#AF9DA8
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b296ca;
/* rgb */ color: rgb(178, 150, 202);
/* oklch */ color: oklch(71.6% 0.080 308.9);
Tailwind
colors: {
  custom: {
    50: '#c9b5da',
    500: '#b296ca',
    950: '#000000',
  },
}
SCSS
$custom: #b296ca;
$custom-light: #c9b5da;
$custom-dark: #000000;
JSON
{
  "hex": "#b296ca",
  "rgb": {
    "r": 178,
    "g": 150,
    "b": 202
  },
  "hsl": {
    "h": 272.308,
    "s": 32.911,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71623,
    "c": 0.08013,
    "h": 308.9
  },
  "luminance": 0.35542
}

Semantic roles & 50–950 ramp

primary
#B296CA
secondary
#DDE6D6
accent
#AC3A6E
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#131114
muted
#828083

Preview Lab

Preview with #B296CA

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

Preview Lab → · Contrast checker → · Palette generator →

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