#B296E8#B296E8

#B296E8 is a light, moderate violet. Relative luminance 0.371; OKLCH L 72.9% C 0.120 H 299.1°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#B296E8
RGBrgb(178, 150, 232)
HSLhsl(260, 64%, 75%)
HSVhsv(260, 35%, 91%)
CMYKcmyk(23.3%, 35.3%, 0%, 9%)
CIE-LABlab(67.35, 27.00, -37.64)
CIE-LCHlch(67.35, 46.32, 305.65°)
OKLaboklab(72.92% 0.0582 -0.1044)
OKLCHoklch(72.92% 0.12 299.1)
XYZxyz(43.8287, 37.1036, 81.1810)
Luminance0.3710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B296E8 #CCE896
analogous
#96A3E8 #B296E8 #DB96E8
triadic
#B296E8 #E8B296 #96E8B2
tetradic
#B296E8 #E896A3 #CCE896 #96E8DB
square
#B296E8 #E896A3 #CCE896 #96E8DB
split-complementary
#B296E8 #E8DB96 #A3E896
monochromatic
#6832D2 #8D64DD #B296E8 #D7C8F3 #EDE6FA

Accessibility & contrast

On white

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

On black

8.42
#B296E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B296E8
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B296E8#FFFFFF#000000##000000
##B296E81.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A4EB
Deuteranopia (green-blind)
#87A3E6
Tritanopia (blue-blind)
#A8A3B4
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b296e8;
/* rgb */ color: rgb(178, 150, 232);
/* oklch */ color: oklch(72.9% 0.120 299.1);
Tailwind
colors: {
  custom: {
    50: '#cab5ef',
    500: '#b296e8',
    950: '#000000',
  },
}
SCSS
$custom: #b296e8;
$custom-light: #cab5ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b296e8",
  "rgb": {
    "r": 178,
    "g": 150,
    "b": 232
  },
  "hsl": {
    "h": 260.488,
    "s": 64.062,
    "l": 74.902
  },
  "oklch": {
    "l": 0.72922,
    "c": 0.11956,
    "h": 299.1
  },
  "luminance": 0.37104
}

Semantic roles & 50–950 ramp

primary
#B296E8
secondary
#E9F1DA
accent
#CC1A8F
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B296E8

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

Preview Lab → · Contrast checker → · Palette generator →

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