#B296E4#B296E4

#B296E4 is a light, moderate violet. Relative luminance 0.369; OKLCH L 72.7% C 0.114 H 300.1°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#B296E4
RGBrgb(178, 150, 228)
HSLhsl(262, 59%, 74%)
HSVhsv(262, 34%, 89%)
CMYKcmyk(21.9%, 34.2%, 0%, 10.6%)
CIE-LABlab(67.19, 26.07, -35.70)
CIE-LCHlch(67.19, 44.20, 306.14°)
OKLaboklab(72.74% 0.0573 -0.0989)
OKLCHoklch(72.74% 0.114 300.1)
XYZxyz(43.2670, 36.8790, 78.2227)
Luminance0.3688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B296E4 #C8E496
analogous
#96A1E4 #B296E4 #D996E4
triadic
#B296E4 #E4B296 #96E4B2
tetradic
#B296E4 #E496A1 #C8E496 #96E4D9
square
#B296E4 #E496A1 #C8E496 #96E4D9
split-complementary
#B296E4 #E4D996 #A1E496
monochromatic
#6B35CB #8E65D7 #B296E4 #D6C7F1 #EDE7F9

Accessibility & contrast

On white

2.51
#B296E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#B296E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B296E4
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B296E4#FFFFFF#000000##000000
##B296E41.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A3E7
Deuteranopia (green-blind)
#89A3E2
Tritanopia (blue-blind)
#A9A2B3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b296e4;
/* rgb */ color: rgb(178, 150, 228);
/* oklch */ color: oklch(72.7% 0.114 300.1);
Tailwind
colors: {
  custom: {
    50: '#cab5ec',
    500: '#b296e4',
    950: '#000000',
  },
}
SCSS
$custom: #b296e4;
$custom-light: #cab5ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b296e4",
  "rgb": {
    "r": 178,
    "g": 150,
    "b": 228
  },
  "hsl": {
    "h": 261.538,
    "s": 59.091,
    "l": 74.118
  },
  "oklch": {
    "l": 0.72738,
    "c": 0.11425,
    "h": 300.1
  },
  "luminance": 0.36879
}

Semantic roles & 50–950 ramp

primary
#B296E4
secondary
#E8F0DB
accent
#C71F8A
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B296E4

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

Preview Lab → · Contrast checker → · Palette generator →

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