#B396FC#B396FC

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

Color values

HEX#B396FC
RGBrgb(179, 150, 252)
HSLhsl(257, 94%, 79%)
HSVhsv(257, 40%, 99%)
CMYKcmyk(29%, 40.5%, 0%, 1.2%)
CIE-LABlab(68.33, 32.06, -47.05)
CIE-LCHlch(68.33, 56.94, 304.27°)
OKLaboklab(73.98% 0.0634 -0.1316)
OKLCHoklch(73.98% 0.146 295.7)
XYZxyz(47.0632, 38.4241, 97.0137)
Luminance0.3842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B396FC #DFFC96
analogous
#96ACFC #B396FC #E696FC
triadic
#B396FC #FCB396 #96FCB3
tetradic
#B396FC #FC96AC #DFFC96 #96FCE6
square
#B396FC #FC96AC #DFFC96 #96FCE6
split-complementary
#B396FC #FCE696 #ACFC96
monochromatic
#5D1FF9 #885BFA #B396FC #DED2FE #E9E1FE

Accessibility & contrast

On white

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

On black

8.68
#B396FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B396FC
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B396FC#FFFFFF#000000##000000
##B396FC1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A7FF
Deuteranopia (green-blind)
#7DA5F9
Tritanopia (blue-blind)
#A3A8BD
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b396fc;
/* rgb */ color: rgb(179, 150, 252);
/* oklch */ color: oklch(74.0% 0.146 295.7);
Tailwind
colors: {
  custom: {
    50: '#ccb5fe',
    500: '#b396fc',
    950: '#000000',
  },
}
SCSS
$custom: #b396fc;
$custom-light: #ccb5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b396fc",
  "rgb": {
    "r": 179,
    "g": 150,
    "b": 252
  },
  "hsl": {
    "h": 257.059,
    "s": 94.444,
    "l": 78.824
  },
  "oklch": {
    "l": 0.73977,
    "c": 0.14608,
    "h": 295.7
  },
  "luminance": 0.38425
}

Semantic roles & 50–950 ramp

primary
#B396FC
secondary
#EDF6D5
accent
#E600A4
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141118
muted
#828086

Preview Lab

Preview with #B396FC

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

Preview Lab → · Contrast checker → · Palette generator →

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