#B296CD#B296CD

#B296CD is a light, moderate violet. Relative luminance 0.357; OKLCH L 71.7% C 0.084 H 307.6°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#B296CD
RGBrgb(178, 150, 205)
HSLhsl(271, 35%, 70%)
HSVhsv(271, 27%, 80%)
CMYKcmyk(13.2%, 26.8%, 0%, 19.6%)
CIE-LABlab(66.28, 20.93, -24.36)
CIE-LCHlch(66.28, 32.12, 310.66°)
OKLaboklab(71.74% 0.0512 -0.0666)
OKLCHoklch(71.74% 0.084 307.6)
XYZxyz(40.2839, 35.6857, 62.5116)
Luminance0.3569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B296CD #B1CD96
analogous
#9796CD #B296CD #CD96CD
triadic
#B296CD #CDB296 #96CDB2
tetradic
#B296CD #CD9796 #B1CD96 #96CDCD
square
#B296CD #CD9796 #B1CD96 #96CDCD
split-complementary
#B296CD #CDCD96 #96CD97
monochromatic
#754B9E #946DB9 #B296CD #D0BFE1 #EFE9F4

Accessibility & contrast

On white

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

On black

8.14
#B296CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B296CD
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B296CD#FFFFFF#000000##000000
##B296CD1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b296cd;
/* rgb */ color: rgb(178, 150, 205);
/* oklch */ color: oklch(71.7% 0.084 307.6);
Tailwind
colors: {
  custom: {
    50: '#c9b5dc',
    500: '#b296cd',
    950: '#000000',
  },
}
SCSS
$custom: #b296cd;
$custom-light: #c9b5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b296cd",
  "rgb": {
    "r": 178,
    "g": 150,
    "b": 205
  },
  "hsl": {
    "h": 270.545,
    "s": 35.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71744,
    "c": 0.08401,
    "h": 307.6
  },
  "luminance": 0.35685
}

Semantic roles & 50–950 ramp

primary
#B296CD
secondary
#DFE7D8
accent
#AE3772
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #B296CD

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

Preview Lab → · Contrast checker → · Palette generator →

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