#B296EF#B296EF

#B296EF is a light, vivid violet. Relative luminance 0.375; OKLCH L 73.3% C 0.129 H 297.6°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#B296EF
RGBrgb(178, 150, 239)
HSLhsl(259, 74%, 76%)
HSVhsv(259, 37%, 94%)
CMYKcmyk(25.5%, 37.2%, 0%, 6.3%)
CIE-LABlab(67.66, 28.65, -41.01)
CIE-LCHlch(67.66, 50.03, 304.94°)
OKLaboklab(73.25% 0.0597 -0.1141)
OKLCHoklch(73.25% 0.129 297.6)
XYZxyz(44.8428, 37.5093, 86.5221)
Luminance0.3751 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B296EF #D3EF96
analogous
#96A7EF #B296EF #DF96EF
triadic
#B296EF #EFB296 #96EFB2
tetradic
#B296EF #EF96A7 #D3EF96 #96EFDF
square
#B296EF #EF96A7 #D3EF96 #96EFDF
split-complementary
#B296EF #EFDF96 #A7EF96
monochromatic
#642CDF #8B61E7 #B296EF #D9CBF7 #ECE4FB

Accessibility & contrast

On white

2.47
#B296EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#B296EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B296EF
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B296EF#FFFFFF#000000##000000
##B296EF1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA5F2
Deuteranopia (green-blind)
#84A4ED
Tritanopia (blue-blind)
#A6A5B7
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b296ef;
/* rgb */ color: rgb(178, 150, 239);
/* oklch */ color: oklch(73.3% 0.129 297.6);
Tailwind
colors: {
  custom: {
    50: '#cab5f4',
    500: '#b296ef',
    950: '#000000',
  },
}
SCSS
$custom: #b296ef;
$custom-light: #cab5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b296ef",
  "rgb": {
    "r": 178,
    "g": 150,
    "b": 239
  },
  "hsl": {
    "h": 258.876,
    "s": 73.554,
    "l": 76.275
  },
  "oklch": {
    "l": 0.73252,
    "c": 0.12883,
    "h": 297.6
  },
  "luminance": 0.3751
}

Semantic roles & 50–950 ramp

primary
#B296EF
secondary
#EAF3D8
accent
#D61097
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #B296EF

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

Preview Lab → · Contrast checker → · Palette generator →

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