#B296EE#B296EE

#B296EE is a light, vivid violet. Relative luminance 0.375; OKLCH L 73.2% C 0.128 H 297.8°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#B296EE
RGBrgb(178, 150, 238)
HSLhsl(259, 72%, 76%)
HSVhsv(259, 37%, 93%)
CMYKcmyk(25.2%, 37%, 0%, 6.7%)
CIE-LABlab(67.61, 28.41, -40.53)
CIE-LCHlch(67.61, 49.50, 305.03°)
OKLaboklab(73.2% 0.0595 -0.1128)
OKLCHoklch(73.2% 0.128 297.8)
XYZxyz(44.6955, 37.4504, 85.7463)
Luminance0.3745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B296EE #D2EE96
analogous
#96A6EE #B296EE #DE96EE
triadic
#B296EE #EEB296 #96EEB2
tetradic
#B296EE #EE96A6 #D2EE96 #96EEDE
square
#B296EE #EE96A6 #D2EE96 #96EEDE
split-complementary
#B296EE #EEDE96 #A6EE96
monochromatic
#652DDD #8B61E5 #B296EE #D9CBF7 #ECE5FB

Accessibility & contrast

On white

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

On black

8.49
#B296EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B296EE
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B296EE#FFFFFF#000000##000000
##B296EE1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b296ee;
/* rgb */ color: rgb(178, 150, 238);
/* oklch */ color: oklch(73.2% 0.128 297.8);
Tailwind
colors: {
  custom: {
    50: '#cab5f4',
    500: '#b296ee',
    950: '#000000',
  },
}
SCSS
$custom: #b296ee;
$custom-light: #cab5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b296ee",
  "rgb": {
    "r": 178,
    "g": 150,
    "b": 238
  },
  "hsl": {
    "h": 259.091,
    "s": 72.131,
    "l": 76.078
  },
  "oklch": {
    "l": 0.73204,
    "c": 0.12751,
    "h": 297.8
  },
  "luminance": 0.37451
}

Semantic roles & 50–950 ramp

primary
#B296EE
secondary
#EAF2D9
accent
#D41196
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #B296EE

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

Preview Lab → · Contrast checker → · Palette generator →

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