#B396FD#B396FD

#B396FD is a light, vivid violet. Relative luminance 0.385; OKLCH L 74.0% C 0.147 H 295.5°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#B396FD
RGBrgb(179, 150, 253)
HSLhsl(257, 96%, 79%)
HSVhsv(257, 41%, 99%)
CMYKcmyk(29.2%, 40.7%, 0%, 0.8%)
CIE-LABlab(68.38, 32.31, -47.52)
CIE-LCHlch(68.38, 57.47, 304.21°)
OKLaboklab(74.03% 0.0636 -0.133)
OKLCHoklch(74.03% 0.147 295.5)
XYZxyz(47.2220, 38.4876, 97.8504)
Luminance0.3849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B396FD #E0FD96
analogous
#96ADFD #B396FD #E796FD
triadic
#B396FD #FDB396 #96FDB3
tetradic
#B396FD #FD96AD #E0FD96 #96FDE7
square
#B396FD #FD96AD #E0FD96 #96FDE7
split-complementary
#B396FD #FDE796 #ADFD96
monochromatic
#5C1EFB #885AFC #B396FD #DED2FE #E9E1FE

Accessibility & contrast

On white

2.41
#B396FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#B396FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B396FD
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B396FD#FFFFFF#000000##000000
##B396FD1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b396fd;
/* rgb */ color: rgb(179, 150, 253);
/* oklch */ color: oklch(74.0% 0.147 295.5);
Tailwind
colors: {
  custom: {
    50: '#ccb5fe',
    500: '#b396fd',
    950: '#000000',
  },
}
SCSS
$custom: #b396fd;
$custom-light: #ccb5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b396fd",
  "rgb": {
    "r": 179,
    "g": 150,
    "b": 253
  },
  "hsl": {
    "h": 256.893,
    "s": 96.262,
    "l": 79.02
  },
  "oklch": {
    "l": 0.74028,
    "c": 0.14739,
    "h": 295.5
  },
  "luminance": 0.38488
}

Semantic roles & 50–950 ramp

primary
#B396FD
secondary
#EDF7D4
accent
#E600A5
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141118
muted
#828086

Preview Lab

Preview with #B396FD

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

Preview Lab → · Contrast checker → · Palette generator →

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