#B296ED#B296ED

#B296ED is a light, vivid violet. Relative luminance 0.374; OKLCH L 73.2% C 0.126 H 298.0°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#B296ED
RGBrgb(178, 150, 237)
HSLhsl(259, 71%, 76%)
HSVhsv(259, 37%, 93%)
CMYKcmyk(24.9%, 36.7%, 0%, 7.1%)
CIE-LABlab(67.57, 28.18, -40.05)
CIE-LCHlch(67.57, 48.97, 305.13°)
OKLaboklab(73.16% 0.0593 -0.1114)
OKLCHoklch(73.16% 0.126 298)
XYZxyz(44.5490, 37.3918, 84.9747)
Luminance0.3739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B296ED #D1ED96
analogous
#96A5ED #B296ED #DD96ED
triadic
#B296ED #EDB296 #96EDB2
tetradic
#B296ED #ED96A5 #D1ED96 #96EDDD
square
#B296ED #ED96A5 #D1ED96 #96EDDD
split-complementary
#B296ED #EDDD96 #A5ED96
monochromatic
#652EDB #8C62E4 #B296ED #D8CAF6 #ECE5FB

Accessibility & contrast

On white

2.48
#B296ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#B296ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B296ED
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B296ED#FFFFFF#000000##000000
##B296ED1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A5F0
Deuteranopia (green-blind)
#85A4EB
Tritanopia (blue-blind)
#A7A5B6
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b296ed;
/* rgb */ color: rgb(178, 150, 237);
/* oklch */ color: oklch(73.2% 0.126 298.0);
Tailwind
colors: {
  custom: {
    50: '#cab5f3',
    500: '#b296ed',
    950: '#000000',
  },
}
SCSS
$custom: #b296ed;
$custom-light: #cab5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b296ed",
  "rgb": {
    "r": 178,
    "g": 150,
    "b": 237
  },
  "hsl": {
    "h": 259.31,
    "s": 70.732,
    "l": 75.882
  },
  "oklch": {
    "l": 0.73157,
    "c": 0.12618,
    "h": 298
  },
  "luminance": 0.37392
}

Semantic roles & 50–950 ramp

primary
#B296ED
secondary
#EAF2D9
accent
#D31395
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #B296ED

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

Preview Lab → · Contrast checker → · Palette generator →

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