#B596F7#B596F7

#B596F7 is a light, vivid violet. Relative luminance 0.384; OKLCH L 73.9% C 0.140 H 297.6°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#B596F7
RGBrgb(181, 150, 247)
HSLhsl(259, 86%, 78%)
HSVhsv(259, 39%, 97%)
CMYKcmyk(26.7%, 39.3%, 0%, 3.1%)
CIE-LABlab(68.28, 31.41, -44.40)
CIE-LCHlch(68.28, 54.38, 305.28°)
OKLaboklab(73.9% 0.0648 -0.1239)
OKLCHoklch(73.9% 0.14 297.6)
XYZxyz(46.7470, 38.3514, 92.9174)
Luminance0.3835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B596F7 #D8F796
analogous
#96A7F7 #B596F7 #E596F7
triadic
#B596F7 #F7B596 #96F7B5
tetradic
#B596F7 #F796A7 #D8F796 #96F7E5
square
#B596F7 #F796A7 #D8F796 #96F7E5
split-complementary
#B596F7 #F7E596 #A7F796
monochromatic
#6524EE #8D5DF3 #B596F7 #DDCFFB #EBE3FD

Accessibility & contrast

On white

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

On black

8.67
#B596F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B596F7
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B596F7#FFFFFF#000000##000000
##B596F71.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA7FB
Deuteranopia (green-blind)
#81A5F4
Tritanopia (blue-blind)
#A8A7BB
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b596f7;
/* rgb */ color: rgb(181, 150, 247);
/* oklch */ color: oklch(73.9% 0.140 297.6);
Tailwind
colors: {
  custom: {
    50: '#cdb5fa',
    500: '#b596f7',
    950: '#000000',
  },
}
SCSS
$custom: #b596f7;
$custom-light: #cdb5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b596f7",
  "rgb": {
    "r": 181,
    "g": 150,
    "b": 247
  },
  "hsl": {
    "h": 259.175,
    "s": 85.841,
    "l": 77.843
  },
  "oklch": {
    "l": 0.73904,
    "c": 0.13979,
    "h": 297.6
  },
  "luminance": 0.38352
}

Semantic roles & 50–950 ramp

primary
#B596F7
secondary
#EBF5D6
accent
#E2039B
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B596F7

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

Preview Lab → · Contrast checker → · Palette generator →

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