#B296E2#B296E2

#B296E2 is a light, moderate violet. Relative luminance 0.368; OKLCH L 72.6% C 0.112 H 300.6°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#B296E2
RGBrgb(178, 150, 226)
HSLhsl(262, 57%, 74%)
HSVhsv(262, 34%, 89%)
CMYKcmyk(21.2%, 33.6%, 0%, 11.4%)
CIE-LABlab(67.10, 25.61, -34.73)
CIE-LCHlch(67.10, 43.15, 306.40°)
OKLaboklab(72.65% 0.0568 -0.0961)
OKLCHoklch(72.65% 0.112 300.6)
XYZxyz(42.9909, 36.7685, 76.7689)
Luminance0.3677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B296E2 #C6E296
analogous
#96A0E2 #B296E2 #D896E2
triadic
#B296E2 #E2B296 #96E2B2
tetradic
#B296E2 #E296A0 #C6E296 #96E2D8
square
#B296E2 #E296A0 #C6E296 #96E2D8
split-complementary
#B296E2 #E2D896 #A0E296
monochromatic
#6C37C7 #8F66D5 #B296E2 #D5C6EF #EDE7F8

Accessibility & contrast

On white

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

On black

8.35
#B296E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B296E2
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B296E2#FFFFFF#000000##000000
##B296E21.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A3E5
Deuteranopia (green-blind)
#8AA3E0
Tritanopia (blue-blind)
#AAA2B2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b296e2;
/* rgb */ color: rgb(178, 150, 226);
/* oklch */ color: oklch(72.6% 0.112 300.6);
Tailwind
colors: {
  custom: {
    50: '#cab5eb',
    500: '#b296e2',
    950: '#000000',
  },
}
SCSS
$custom: #b296e2;
$custom-light: #cab5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#b296e2",
  "rgb": {
    "r": 178,
    "g": 150,
    "b": 226
  },
  "hsl": {
    "h": 262.105,
    "s": 56.716,
    "l": 73.725
  },
  "oklch": {
    "l": 0.72647,
    "c": 0.1116,
    "h": 300.6
  },
  "luminance": 0.36769
}

Semantic roles & 50–950 ramp

primary
#B296E2
secondary
#E8F0DB
accent
#C42188
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B296E2

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

Preview Lab → · Contrast checker → · Palette generator →

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