#B296EA#B296EA

#B296EA is a light, vivid violet. Relative luminance 0.372; OKLCH L 73.0% C 0.122 H 298.7°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#B296EA
RGBrgb(178, 150, 234)
HSLhsl(260, 67%, 75%)
HSVhsv(260, 36%, 92%)
CMYKcmyk(23.9%, 35.9%, 0%, 8.2%)
CIE-LABlab(67.44, 27.47, -38.61)
CIE-LCHlch(67.44, 47.38, 305.43°)
OKLaboklab(73.02% 0.0586 -0.1072)
OKLCHoklch(73.02% 0.122 298.7)
XYZxyz(44.1144, 37.2179, 82.6856)
Luminance0.3722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B296EA #CEEA96
analogous
#96A4EA #B296EA #DC96EA
triadic
#B296EA #EAB296 #96EAB2
tetradic
#B296EA #EA96A4 #CEEA96 #96EADC
square
#B296EA #EA96A4 #CEEA96 #96EADC
split-complementary
#B296EA #EADC96 #A4EA96
monochromatic
#6730D6 #8D63E0 #B296EA #D7C9F4 #ECE5FA

Accessibility & contrast

On white

2.49
#B296EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#B296EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B296EA
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B296EA#FFFFFF#000000##000000
##B296EA1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A4ED
Deuteranopia (green-blind)
#86A4E8
Tritanopia (blue-blind)
#A7A4B5
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b296ea;
/* rgb */ color: rgb(178, 150, 234);
/* oklch */ color: oklch(73.0% 0.122 298.7);
Tailwind
colors: {
  custom: {
    50: '#cab5f1',
    500: '#b296ea',
    950: '#000000',
  },
}
SCSS
$custom: #b296ea;
$custom-light: #cab5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b296ea",
  "rgb": {
    "r": 178,
    "g": 150,
    "b": 234
  },
  "hsl": {
    "h": 260,
    "s": 66.667,
    "l": 75.294
  },
  "oklch": {
    "l": 0.73015,
    "c": 0.12221,
    "h": 298.7
  },
  "luminance": 0.37218
}

Semantic roles & 50–950 ramp

primary
#B296EA
secondary
#E9F1DA
accent
#CF1791
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B296EA

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

Preview Lab → · Contrast checker → · Palette generator →

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