#B296E6#B296E6

#B296E6 is a light, moderate violet. Relative luminance 0.370; OKLCH L 72.8% C 0.117 H 299.6°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#B296E6
RGBrgb(178, 150, 230)
HSLhsl(261, 62%, 75%)
HSVhsv(261, 35%, 90%)
CMYKcmyk(22.6%, 34.8%, 0%, 9.8%)
CIE-LABlab(67.27, 26.53, -36.67)
CIE-LCHlch(67.27, 45.26, 305.89°)
OKLaboklab(72.83% 0.0577 -0.1016)
OKLCHoklch(72.83% 0.117 299.6)
XYZxyz(43.5462, 36.9907, 79.6933)
Luminance0.3699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B296E6 #CAE696
analogous
#96A2E6 #B296E6 #DA96E6
triadic
#B296E6 #E6B296 #96E6B2
tetradic
#B296E6 #E696A2 #CAE696 #96E6DA
square
#B296E6 #E696A2 #CAE696 #96E6DA
split-complementary
#B296E6 #E6DA96 #A2E696
monochromatic
#6A33CE #8E65DA #B296E6 #D6C7F2 #EDE6F9

Accessibility & contrast

On white

2.50
#B296E6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#B296E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B296E6
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B296E6#FFFFFF#000000##000000
##B296E61.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A4E9
Deuteranopia (green-blind)
#88A3E4
Tritanopia (blue-blind)
#A8A3B3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b296e6;
/* rgb */ color: rgb(178, 150, 230);
/* oklch */ color: oklch(72.8% 0.117 299.6);
Tailwind
colors: {
  custom: {
    50: '#cab5ee',
    500: '#b296e6',
    950: '#000000',
  },
}
SCSS
$custom: #b296e6;
$custom-light: #cab5ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b296e6",
  "rgb": {
    "r": 178,
    "g": 150,
    "b": 230
  },
  "hsl": {
    "h": 261,
    "s": 61.538,
    "l": 74.51
  },
  "oklch": {
    "l": 0.72829,
    "c": 0.1169,
    "h": 299.6
  },
  "luminance": 0.36991
}

Semantic roles & 50–950 ramp

primary
#B296E6
secondary
#E9F0DB
accent
#C91C8D
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B296E6

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

Preview Lab → · Contrast checker → · Palette generator →

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