#B296DC#B296DC

#B296DC is a light, moderate violet. Relative luminance 0.364; OKLCH L 72.4% C 0.104 H 302.2°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#B296DC
RGBrgb(178, 150, 220)
HSLhsl(264, 50%, 73%)
HSVhsv(264, 32%, 86%)
CMYKcmyk(19.1%, 31.8%, 0%, 13.7%)
CIE-LABlab(66.86, 24.24, -31.79)
CIE-LCHlch(66.86, 39.98, 307.32°)
OKLaboklab(72.38% 0.0553 -0.0877)
OKLCHoklch(72.38% 0.104 302.2)
XYZxyz(42.1820, 36.4450, 72.5086)
Luminance0.3644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B296DC #C0DC96
analogous
#969DDC #B296DC #D596DC
triadic
#B296DC #DCB296 #96DCB2
tetradic
#B296DC #DC969D #C0DC96 #96DCD5
square
#B296DC #DC969D #C0DC96 #96DCD5
split-complementary
#B296DC #DCD596 #9DDC96
monochromatic
#6F3EBA #9068CD #B296DC #D4C4EB #EEE8F7

Accessibility & contrast

On white

2.53
#B296DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#B296DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B296DC
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B296DC#FFFFFF#000000##000000
##B296DC1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A2DF
Deuteranopia (green-blind)
#8CA2DA
Tritanopia (blue-blind)
#ABA1AF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b296dc;
/* rgb */ color: rgb(178, 150, 220);
/* oklch */ color: oklch(72.4% 0.104 302.2);
Tailwind
colors: {
  custom: {
    50: '#cab5e7',
    500: '#b296dc',
    950: '#000000',
  },
}
SCSS
$custom: #b296dc;
$custom-light: #cab5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b296dc",
  "rgb": {
    "r": 178,
    "g": 150,
    "b": 220
  },
  "hsl": {
    "h": 264,
    "s": 50,
    "l": 72.549
  },
  "oklch": {
    "l": 0.7238,
    "c": 0.10367,
    "h": 302.2
  },
  "luminance": 0.36445
}

Semantic roles & 50–950 ramp

primary
#B296DC
secondary
#E7EEDD
accent
#BD2882
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B296DC

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

Preview Lab → · Contrast checker → · Palette generator →

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