#B296DB#B296DB

#B296DB is a light, moderate violet. Relative luminance 0.364; OKLCH L 72.3% C 0.102 H 302.5°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#B296DB
RGBrgb(178, 150, 219)
HSLhsl(264, 49%, 72%)
HSVhsv(264, 32%, 86%)
CMYKcmyk(18.7%, 31.5%, 0%, 14.1%)
CIE-LABlab(66.82, 24.01, -31.30)
CIE-LCHlch(66.82, 39.45, 307.49°)
OKLaboklab(72.34% 0.0551 -0.0863)
OKLCHoklch(72.34% 0.102 302.5)
XYZxyz(42.0500, 36.3922, 71.8132)
Luminance0.3639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B296DB #BFDB96
analogous
#969DDB #B296DB #D596DB
triadic
#B296DB #DBB296 #96DBB2
tetradic
#B296DB #DB969D #BFDB96 #96DBD5
square
#B296DB #DB969D #BFDB96 #96DBD5
split-complementary
#B296DB #DBD596 #9DDB96
monochromatic
#703FB8 #9168CB #B296DB #D3C4EB #EEE8F7

Accessibility & contrast

On white

2.54
#B296DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#B296DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B296DB
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B296DB#FFFFFF#000000##000000
##B296DB1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A2DE
Deuteranopia (green-blind)
#8DA2D9
Tritanopia (blue-blind)
#ABA0AF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b296db;
/* rgb */ color: rgb(178, 150, 219);
/* oklch */ color: oklch(72.3% 0.102 302.5);
Tailwind
colors: {
  custom: {
    50: '#cab5e6',
    500: '#b296db',
    950: '#000000',
  },
}
SCSS
$custom: #b296db;
$custom-light: #cab5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b296db",
  "rgb": {
    "r": 178,
    "g": 150,
    "b": 219
  },
  "hsl": {
    "h": 264.348,
    "s": 48.936,
    "l": 72.353
  },
  "oklch": {
    "l": 0.72336,
    "c": 0.10235,
    "h": 302.5
  },
  "luminance": 0.36392
}

Semantic roles & 50–950 ramp

primary
#B296DB
secondary
#E7EEDD
accent
#BC2981
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B296DB

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

Preview Lab → · Contrast checker → · Palette generator →

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