#B296EC#B296EC

#B296EC is a light, vivid violet. Relative luminance 0.373; OKLCH L 73.1% C 0.125 H 298.2°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#B296EC
RGBrgb(178, 150, 236)
HSLhsl(260, 69%, 76%)
HSVhsv(260, 36%, 93%)
CMYKcmyk(24.6%, 36.4%, 0%, 7.5%)
CIE-LABlab(67.53, 27.94, -39.57)
CIE-LCHlch(67.53, 48.44, 305.23°)
OKLaboklab(73.11% 0.0591 -0.11)
OKLCHoklch(73.11% 0.125 298.2)
XYZxyz(44.4033, 37.3335, 84.2074)
Luminance0.3733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B296EC #D0EC96
analogous
#96A5EC #B296EC #DD96EC
triadic
#B296EC #ECB296 #96ECB2
tetradic
#B296EC #EC96A5 #D0EC96 #96ECDD
square
#B296EC #EC96A5 #D0EC96 #96ECDD
split-complementary
#B296EC #ECDD96 #A5EC96
monochromatic
#662ED9 #8C62E3 #B296EC #D8CAF5 #ECE5FA

Accessibility & contrast

On white

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

On black

8.47
#B296EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B296EC
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B296EC#FFFFFF#000000##000000
##B296EC1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A5EF
Deuteranopia (green-blind)
#85A4EA
Tritanopia (blue-blind)
#A7A4B6
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b296ec;
/* rgb */ color: rgb(178, 150, 236);
/* oklch */ color: oklch(73.1% 0.125 298.2);
Tailwind
colors: {
  custom: {
    50: '#cab5f2',
    500: '#b296ec',
    950: '#000000',
  },
}
SCSS
$custom: #b296ec;
$custom-light: #cab5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b296ec",
  "rgb": {
    "r": 178,
    "g": 150,
    "b": 236
  },
  "hsl": {
    "h": 259.535,
    "s": 69.355,
    "l": 75.686
  },
  "oklch": {
    "l": 0.73109,
    "c": 0.12485,
    "h": 298.2
  },
  "luminance": 0.37334
}

Semantic roles & 50–950 ramp

primary
#B296EC
secondary
#EAF2D9
accent
#D11494
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #B296EC

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

Preview Lab → · Contrast checker → · Palette generator →

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