#B296EB#B296EB

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

Color values

HEX#B296EB
RGBrgb(178, 150, 235)
HSLhsl(260, 68%, 75%)
HSVhsv(260, 36%, 92%)
CMYKcmyk(24.3%, 36.2%, 0%, 7.8%)
CIE-LABlab(67.48, 27.70, -39.09)
CIE-LCHlch(67.48, 47.91, 305.33°)
OKLaboklab(73.06% 0.0589 -0.1086)
OKLCHoklch(73.06% 0.124 298.5)
XYZxyz(44.2584, 37.2755, 83.4444)
Luminance0.3728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B296EB #CFEB96
analogous
#96A4EB #B296EB #DD96EB
triadic
#B296EB #EBB296 #96EBB2
tetradic
#B296EB #EB96A4 #CFEB96 #96EBDD
square
#B296EB #EB96A4 #CFEB96 #96EBDD
split-complementary
#B296EB #EBDD96 #A4EB96
monochromatic
#672FD7 #8C63E1 #B296EB #D8C9F5 #ECE5FA

Accessibility & contrast

On white

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

On black

8.46
#B296EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B296EB
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B296EB#FFFFFF#000000##000000
##B296EB1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A4EE
Deuteranopia (green-blind)
#86A4E9
Tritanopia (blue-blind)
#A7A4B6
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b296eb;
/* rgb */ color: rgb(178, 150, 235);
/* oklch */ color: oklch(73.1% 0.124 298.5);
Tailwind
colors: {
  custom: {
    50: '#cab5f1',
    500: '#b296eb',
    950: '#000000',
  },
}
SCSS
$custom: #b296eb;
$custom-light: #cab5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b296eb",
  "rgb": {
    "r": 178,
    "g": 150,
    "b": 235
  },
  "hsl": {
    "h": 259.765,
    "s": 68,
    "l": 75.49
  },
  "oklch": {
    "l": 0.73062,
    "c": 0.12353,
    "h": 298.5
  },
  "luminance": 0.37276
}

Semantic roles & 50–950 ramp

primary
#B296EB
secondary
#EAF2D9
accent
#D01693
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #B296EB

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

Preview Lab → · Contrast checker → · Palette generator →

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