#B296FE#B296FE

#B296FE is a light, vivid violet. Relative luminance 0.384; OKLCH L 74.0% C 0.149 H 294.9°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#B296FE
RGBrgb(178, 150, 254)
HSLhsl(256, 98%, 79%)
HSVhsv(256, 41%, 100%)
CMYKcmyk(29.9%, 40.9%, 0%, 0.4%)
CIE-LABlab(68.34, 32.28, -48.14)
CIE-LCHlch(68.34, 57.96, 303.85°)
OKLaboklab(73.99% 0.0626 -0.1348)
OKLCHoklch(73.99% 0.149 294.9)
XYZxyz(47.1514, 38.4327, 98.6808)
Luminance0.3843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B296FE #E2FE96
analogous
#96AEFE #B296FE #E696FE
triadic
#B296FE #FEB296 #96FEB2
tetradic
#B296FE #FE96AE #E2FE96 #96FEE6
square
#B296FE #FE96AE #E2FE96 #96FEE6
split-complementary
#B296FE #FEE696 #AEFE96
monochromatic
#591DFD #8659FD #B296FE #DED3FF #E9E1FF

Accessibility & contrast

On white

2.42
#B296FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#B296FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B296FE
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B296FE#FFFFFF#000000##000000
##B296FE1.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A8FF
Deuteranopia (green-blind)
#7CA5FB
Tritanopia (blue-blind)
#A1A9BE
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b296fe;
/* rgb */ color: rgb(178, 150, 254);
/* oklch */ color: oklch(74.0% 0.149 294.9);
Tailwind
colors: {
  custom: {
    50: '#cbb5ff',
    500: '#b296fe',
    950: '#000000',
  },
}
SCSS
$custom: #b296fe;
$custom-light: #cbb5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b296fe",
  "rgb": {
    "r": 178,
    "g": 150,
    "b": 254
  },
  "hsl": {
    "h": 256.154,
    "s": 98.113,
    "l": 79.216
  },
  "oklch": {
    "l": 0.73992,
    "c": 0.1486,
    "h": 294.9
  },
  "luminance": 0.38433
}

Semantic roles & 50–950 ramp

primary
#B296FE
secondary
#EEF7D4
accent
#E600A8
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141118
muted
#828086

Preview Lab

Preview with #B296FE

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

Preview Lab → · Contrast checker → · Palette generator →

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