#B296FC#B296FC

#B296FC is a light, vivid violet. Relative luminance 0.383; OKLCH L 73.9% C 0.146 H 295.2°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#B296FC
RGBrgb(178, 150, 252)
HSLhsl(256, 94%, 79%)
HSVhsv(256, 40%, 99%)
CMYKcmyk(29.4%, 40.5%, 0%, 1.2%)
CIE-LABlab(68.25, 31.79, -47.19)
CIE-LCHlch(68.25, 56.90, 303.97°)
OKLaboklab(73.89% 0.0622 -0.1321)
OKLCHoklch(73.89% 0.146 295.2)
XYZxyz(46.8328, 38.3053, 97.0029)
Luminance0.3831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B296FC #E0FC96
analogous
#96ADFC #B296FC #E596FC
triadic
#B296FC #FCB296 #96FCB2
tetradic
#B296FC #FC96AD #E0FC96 #96FCE5
square
#B296FC #FC96AD #E0FC96 #96FCE5
split-complementary
#B296FC #FCE596 #ADFC96
monochromatic
#5B1FF9 #865BFA #B296FC #DED2FE #E9E1FE

Accessibility & contrast

On white

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

On black

8.66
#B296FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B296FC
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B296FC#FFFFFF#000000##000000
##B296FC1.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A7FF
Deuteranopia (green-blind)
#7DA5F9
Tritanopia (blue-blind)
#A2A8BD
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b296fc;
/* rgb */ color: rgb(178, 150, 252);
/* oklch */ color: oklch(73.9% 0.146 295.2);
Tailwind
colors: {
  custom: {
    50: '#cbb5fe',
    500: '#b296fc',
    950: '#000000',
  },
}
SCSS
$custom: #b296fc;
$custom-light: #cbb5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b296fc",
  "rgb": {
    "r": 178,
    "g": 150,
    "b": 252
  },
  "hsl": {
    "h": 256.471,
    "s": 94.444,
    "l": 78.824
  },
  "oklch": {
    "l": 0.73891,
    "c": 0.14598,
    "h": 295.2
  },
  "luminance": 0.38306
}

Semantic roles & 50–950 ramp

primary
#B296FC
secondary
#EDF6D5
accent
#E600A6
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #B296FC

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

Preview Lab → · Contrast checker → · Palette generator →

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