#B296FA#B296FA

#B296FA is a light, vivid violet. Relative luminance 0.382; OKLCH L 73.8% C 0.143 H 295.6°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#B296FA
RGBrgb(178, 150, 250)
HSLhsl(257, 91%, 78%)
HSVhsv(257, 40%, 98%)
CMYKcmyk(28.8%, 40%, 0%, 2%)
CIE-LABlab(68.15, 31.30, -46.25)
CIE-LCHlch(68.15, 55.85, 304.09°)
OKLaboklab(73.79% 0.0619 -0.1293)
OKLCHoklch(73.79% 0.143 295.6)
XYZxyz(46.5176, 38.1792, 95.3425)
Luminance0.3818 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B296FA #DEFA96
analogous
#96ACFA #B296FA #E496FA
triadic
#B296FA #FAB296 #96FAB2
tetradic
#B296FA #FA96AC #DEFA96 #96FAE4
square
#B296FA #FA96AC #DEFA96 #96FAE4
split-complementary
#B296FA #FAE496 #ACFA96
monochromatic
#5C21F4 #875CF7 #B296FA #DDD0FD #EAE2FE

Accessibility & contrast

On white

2.43
#B296FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.64
#B296FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B296FA
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B296FA#FFFFFF#000000##000000
##B296FA1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA7FE
Deuteranopia (green-blind)
#7EA5F7
Tritanopia (blue-blind)
#A3A8BC
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b296fa;
/* rgb */ color: rgb(178, 150, 250);
/* oklch */ color: oklch(73.8% 0.143 295.6);
Tailwind
colors: {
  custom: {
    50: '#cbb5fc',
    500: '#b296fa',
    950: '#000000',
  },
}
SCSS
$custom: #b296fa;
$custom-light: #cbb5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b296fa",
  "rgb": {
    "r": 178,
    "g": 150,
    "b": 250
  },
  "hsl": {
    "h": 256.8,
    "s": 90.909,
    "l": 78.431
  },
  "oklch": {
    "l": 0.7379,
    "c": 0.14334,
    "h": 295.6
  },
  "luminance": 0.3818
}

Semantic roles & 50–950 ramp

primary
#B296FA
secondary
#EDF6D5
accent
#E600A5
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #B296FA

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

Preview Lab → · Contrast checker → · Palette generator →

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