#B596F2#B596F2

#B596F2 is a light, vivid violet. Relative luminance 0.380; OKLCH L 73.7% C 0.133 H 298.6°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#B596F2
RGBrgb(181, 150, 242)
HSLhsl(260, 78%, 77%)
HSVhsv(260, 38%, 95%)
CMYKcmyk(25.2%, 38%, 0%, 5.1%)
CIE-LABlab(68.06, 30.22, -42.01)
CIE-LCHlch(68.06, 51.75, 305.72°)
OKLaboklab(73.66% 0.0638 -0.117)
OKLCHoklch(73.66% 0.133 298.6)
XYZxyz(45.9857, 38.0469, 88.9083)
Luminance0.3805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B596F2 #D3F296
analogous
#96A5F2 #B596F2 #E396F2
triadic
#B596F2 #F2B596 #96F2B5
tetradic
#B596F2 #F296A5 #D3F296 #96F2E3
square
#B596F2 #F296A5 #D3F296 #96F2E3
split-complementary
#B596F2 #F2E396 #A5F296
monochromatic
#6829E5 #8F60EB #B596F2 #DBCCF9 #ECE4FC

Accessibility & contrast

On white

2.44
#B596F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#B596F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B596F2
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B596F2#FFFFFF#000000##000000
##B596F21.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA6F6
Deuteranopia (green-blind)
#84A5F0
Tritanopia (blue-blind)
#A9A5B9
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b596f2;
/* rgb */ color: rgb(181, 150, 242);
/* oklch */ color: oklch(73.7% 0.133 298.6);
Tailwind
colors: {
  custom: {
    50: '#cdb5f6',
    500: '#b596f2',
    950: '#000000',
  },
}
SCSS
$custom: #b596f2;
$custom-light: #cdb5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#b596f2",
  "rgb": {
    "r": 181,
    "g": 150,
    "b": 242
  },
  "hsl": {
    "h": 260.217,
    "s": 77.966,
    "l": 76.863
  },
  "oklch": {
    "l": 0.73661,
    "c": 0.13324,
    "h": 298.6
  },
  "luminance": 0.38047
}

Semantic roles & 50–950 ramp

primary
#B596F2
secondary
#EAF3D8
accent
#DA0B94
background
#FCFBFF
surface
#F9F6FE
border
#D2D0D6
text
#141117
muted
#828085

Preview Lab

Preview with #B596F2

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

Preview Lab → · Contrast checker → · Palette generator →

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