#B596F9#B596F9

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

Color values

HEX#B596F9
RGBrgb(181, 150, 249)
HSLhsl(259, 89%, 78%)
HSVhsv(259, 40%, 98%)
CMYKcmyk(27.3%, 39.8%, 0%, 2.4%)
CIE-LABlab(68.37, 31.89, -45.34)
CIE-LCHlch(68.37, 55.43, 305.11°)
OKLaboklab(74% 0.0651 -0.1266)
OKLCHoklch(74% 0.142 297.2)
XYZxyz(47.0572, 38.4755, 94.5515)
Luminance0.3848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B596F9 #DAF996
analogous
#96A8F9 #B596F9 #E696F9
triadic
#B596F9 #F9B596 #96F9B5
tetradic
#B596F9 #F996A8 #DAF996 #96F9E6
square
#B596F9 #F996A8 #DAF996 #96F9E6
split-complementary
#B596F9 #F9E696 #A8F996
monochromatic
#6322F2 #8C5CF6 #B596F9 #DED0FC #EBE2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B596F9#FFFFFF#000000##000000
##B596F91.002.428.708.70
#FFFFFF2.421.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA7FD
Deuteranopia (green-blind)
#80A6F6
Tritanopia (blue-blind)
#A7A7BC
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b596f9;
/* rgb */ color: rgb(181, 150, 249);
/* oklch */ color: oklch(74.0% 0.142 297.2);
Tailwind
colors: {
  custom: {
    50: '#cdb5fb',
    500: '#b596f9',
    950: '#000000',
  },
}
SCSS
$custom: #b596f9;
$custom-light: #cdb5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b596f9",
  "rgb": {
    "r": 181,
    "g": 150,
    "b": 249
  },
  "hsl": {
    "h": 258.788,
    "s": 89.189,
    "l": 78.235
  },
  "oklch": {
    "l": 0.74003,
    "c": 0.1424,
    "h": 297.2
  },
  "luminance": 0.38476
}

Semantic roles & 50–950 ramp

primary
#B596F9
secondary
#EBF5D6
accent
#E6009E
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B596F9

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

Preview Lab → · Contrast checker → · Palette generator →

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