#B296DF#B296DF

#B296DF is a light, moderate violet. Relative luminance 0.366; OKLCH L 72.5% C 0.108 H 301.4°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#B296DF
RGBrgb(178, 150, 223)
HSLhsl(263, 53%, 73%)
HSVhsv(263, 33%, 87%)
CMYKcmyk(20.2%, 32.7%, 0%, 12.5%)
CIE-LABlab(66.98, 24.92, -33.26)
CIE-LCHlch(66.98, 41.56, 306.84°)
OKLaboklab(72.51% 0.0561 -0.0919)
OKLCHoklch(72.51% 0.108 301.4)
XYZxyz(42.5829, 36.6053, 74.6199)
Luminance0.3660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B296DF #C3DF96
analogous
#969EDF #B296DF #D796DF
triadic
#B296DF #DFB296 #96DFB2
tetradic
#B296DF #DF969E #C3DF96 #96DFD7
square
#B296DF #DF969E #C3DF96 #96DFD7
split-complementary
#B296DF #DFD796 #9EDF96
monochromatic
#6E3BC0 #9067D1 #B296DF #D4C5ED #EEE8F8

Accessibility & contrast

On white

2.52
#B296DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#B296DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B296DF
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B296DF#FFFFFF#000000##000000
##B296DF1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A3E2
Deuteranopia (green-blind)
#8BA3DD
Tritanopia (blue-blind)
#AAA1B1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b296df;
/* rgb */ color: rgb(178, 150, 223);
/* oklch */ color: oklch(72.5% 0.108 301.4);
Tailwind
colors: {
  custom: {
    50: '#cab5e9',
    500: '#b296df',
    950: '#000000',
  },
}
SCSS
$custom: #b296df;
$custom-light: #cab5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b296df",
  "rgb": {
    "r": 178,
    "g": 150,
    "b": 223
  },
  "hsl": {
    "h": 263.014,
    "s": 53.285,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72512,
    "c": 0.10763,
    "h": 301.4
  },
  "luminance": 0.36605
}

Semantic roles & 50–950 ramp

primary
#B296DF
secondary
#E8EFDC
accent
#C12585
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B296DF

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

Preview Lab → · Contrast checker → · Palette generator →

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