#B596EC#B596EC

#B596EC is a light, vivid violet. Relative luminance 0.377; OKLCH L 73.4% C 0.125 H 299.9°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#B596EC
RGBrgb(181, 150, 236)
HSLhsl(262, 69%, 76%)
HSVhsv(262, 36%, 93%)
CMYKcmyk(23.3%, 36.4%, 0%, 7.5%)
CIE-LABlab(67.79, 28.81, -39.13)
CIE-LCHlch(67.79, 48.59, 306.36°)
OKLaboklab(73.38% 0.0625 -0.1087)
OKLCHoklch(73.38% 0.125 299.9)
XYZxyz(45.0994, 37.6924, 84.2400)
Luminance0.3769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B596EC #CDEC96
analogous
#96A2EC #B596EC #E096EC
triadic
#B596EC #ECB596 #96ECB5
tetradic
#B596EC #EC96A2 #CDEC96 #96ECE0
square
#B596EC #EC96A2 #CDEC96 #96ECE0
split-complementary
#B596EC #ECE096 #A2EC96
monochromatic
#6C2ED9 #9062E3 #B596EC #DACAF5 #EDE5FA

Accessibility & contrast

On white

2.46
#B596EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#B596EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B596EC
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B596EC#FFFFFF#000000##000000
##B596EC1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A5EF
Deuteranopia (green-blind)
#87A5EA
Tritanopia (blue-blind)
#ABA4B6
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b596ec;
/* rgb */ color: rgb(181, 150, 236);
/* oklch */ color: oklch(73.4% 0.125 299.9);
Tailwind
colors: {
  custom: {
    50: '#ccb5f2',
    500: '#b596ec',
    950: '#000000',
  },
}
SCSS
$custom: #b596ec;
$custom-light: #ccb5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b596ec",
  "rgb": {
    "r": 181,
    "g": 150,
    "b": 236
  },
  "hsl": {
    "h": 261.628,
    "s": 69.355,
    "l": 75.686
  },
  "oklch": {
    "l": 0.73376,
    "c": 0.12538,
    "h": 299.9
  },
  "luminance": 0.37693
}

Semantic roles & 50–950 ramp

primary
#B596EC
secondary
#E9F2D9
accent
#D1148D
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #B596EC

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

Preview Lab → · Contrast checker → · Palette generator →

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