#B596F8#B596F8

#B596F8 is a light, vivid violet. Relative luminance 0.384; OKLCH L 74.0% C 0.141 H 297.4°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#B596F8
RGBrgb(181, 150, 248)
HSLhsl(259, 88%, 78%)
HSVhsv(259, 40%, 97%)
CMYKcmyk(27%, 39.5%, 0%, 2.7%)
CIE-LABlab(68.32, 31.65, -44.87)
CIE-LCHlch(68.32, 54.91, 305.19°)
OKLaboklab(73.95% 0.0649 -0.1252)
OKLCHoklch(73.95% 0.141 297.4)
XYZxyz(46.9017, 38.4133, 93.7323)
Luminance0.3841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B596F8 #D9F896
analogous
#96A8F8 #B596F8 #E696F8
triadic
#B596F8 #F8B596 #96F8B5
tetradic
#B596F8 #F896A8 #D9F896 #96F8E6
square
#B596F8 #F896A8 #D9F896 #96F8E6
split-complementary
#B596F8 #F8E696 #A8F896
monochromatic
#6423F0 #8D5DF4 #B596F8 #DDCFFC #EBE2FD

Accessibility & contrast

On white

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

On black

8.68
#B596F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B596F8
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B596F8#FFFFFF#000000##000000
##B596F81.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA7FC
Deuteranopia (green-blind)
#81A6F5
Tritanopia (blue-blind)
#A7A7BB
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b596f8;
/* rgb */ color: rgb(181, 150, 248);
/* oklch */ color: oklch(74.0% 0.141 297.4);
Tailwind
colors: {
  custom: {
    50: '#cdb5fb',
    500: '#b596f8',
    950: '#000000',
  },
}
SCSS
$custom: #b596f8;
$custom-light: #cdb5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b596f8",
  "rgb": {
    "r": 181,
    "g": 150,
    "b": 248
  },
  "hsl": {
    "h": 258.98,
    "s": 87.5,
    "l": 78.039
  },
  "oklch": {
    "l": 0.73953,
    "c": 0.14109,
    "h": 297.4
  },
  "luminance": 0.38414
}

Semantic roles & 50–950 ramp

primary
#B596F8
secondary
#EBF5D6
accent
#E4019C
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141117
muted
#828085

Preview Lab

Preview with #B596F8

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

Preview Lab → · Contrast checker → · Palette generator →

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