#B596FE#B596FE

#B596FE is a light, vivid violet. Relative luminance 0.388; OKLCH L 74.3% C 0.149 H 296.3°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#B596FE
RGBrgb(181, 150, 254)
HSLhsl(258, 98%, 79%)
HSVhsv(258, 41%, 100%)
CMYKcmyk(28.7%, 40.9%, 0%, 0.4%)
CIE-LABlab(68.60, 33.09, -47.71)
CIE-LCHlch(68.60, 58.06, 304.75°)
OKLaboklab(74.25% 0.066 -0.1335)
OKLCHoklch(74.25% 0.149 296.3)
XYZxyz(47.8475, 38.7916, 98.7134)
Luminance0.3879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B596FE #DFFE96
analogous
#96ABFE #B596FE #E996FE
triadic
#B596FE #FEB596 #96FEB5
tetradic
#B596FE #FE96AB #DFFE96 #96FEE9
square
#B596FE #FE96AB #DFFE96 #96FEE9
split-complementary
#B596FE #FEE996 #ABFE96
monochromatic
#601DFD #8A59FD #B596FE #E0D3FF #EAE1FF

Accessibility & contrast

On white

2.40
#B596FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#B596FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B596FE
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B596FE#FFFFFF#000000##000000
##B596FE1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A8FF
Deuteranopia (green-blind)
#7DA6FB
Tritanopia (blue-blind)
#A6A8BE
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b596fe;
/* rgb */ color: rgb(181, 150, 254);
/* oklch */ color: oklch(74.3% 0.149 296.3);
Tailwind
colors: {
  custom: {
    50: '#cdb5ff',
    500: '#b596fe',
    950: '#000000',
  },
}
SCSS
$custom: #b596fe;
$custom-light: #cdb5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b596fe",
  "rgb": {
    "r": 181,
    "g": 150,
    "b": 254
  },
  "hsl": {
    "h": 257.885,
    "s": 98.113,
    "l": 79.216
  },
  "oklch": {
    "l": 0.74253,
    "c": 0.14892,
    "h": 296.3
  },
  "luminance": 0.38792
}

Semantic roles & 50–950 ramp

primary
#B596FE
secondary
#EDF7D4
accent
#E600A1
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141118
muted
#828086

Preview Lab

Preview with #B596FE

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

Preview Lab → · Contrast checker → · Palette generator →

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