#B796FF#B796FF

#B796FF is a light, vivid violet. Relative luminance 0.391; OKLCH L 74.5% C 0.150 H 297.1°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#B796FF
RGBrgb(183, 150, 255)
HSLhsl(259, 100%, 79%)
HSVhsv(259, 41%, 100%)
CMYKcmyk(28.2%, 41.2%, 0%, 0%)
CIE-LABlab(68.82, 33.88, -47.89)
CIE-LCHlch(68.82, 58.66, 305.28°)
OKLaboklab(74.48% 0.0685 -0.134)
OKLCHoklch(74.48% 0.15 297.1)
XYZxyz(48.4805, 39.0995, 99.5811)
Luminance0.3910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B796FF #DEFF96
analogous
#96AAFF #B796FF #EB96FF
triadic
#B796FF #FFB796 #96FFB7
tetradic
#B796FF #FF96AA #DEFF96 #96FFEB
square
#B796FF #FF96AA #DEFF96 #96FFEB
split-complementary
#B796FF #FFEB96 #AAFF96
monochromatic
#631CFF #8D59FF #B796FF #E1D3FF #EAE0FF

Accessibility & contrast

On white

2.38
#B796FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#B796FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B796FF
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B796FF#FFFFFF#000000##000000
##B796FF1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A8FF
Deuteranopia (green-blind)
#7EA7FC
Tritanopia (blue-blind)
#A8A9BE
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #b796ff;
/* rgb */ color: rgb(183, 150, 255);
/* oklch */ color: oklch(74.5% 0.150 297.1);
Tailwind
colors: {
  custom: {
    50: '#cfb5ff',
    500: '#b796ff',
    950: '#000000',
  },
}
SCSS
$custom: #b796ff;
$custom-light: #cfb5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b796ff",
  "rgb": {
    "r": 183,
    "g": 150,
    "b": 255
  },
  "hsl": {
    "h": 258.857,
    "s": 100,
    "l": 79.412
  },
  "oklch": {
    "l": 0.74479,
    "c": 0.15046,
    "h": 297.1
  },
  "luminance": 0.391
}

Semantic roles & 50–950 ramp

primary
#B796FF
secondary
#ECF7D4
accent
#E6009D
background
#FCFBFF
surface
#F9F6FF
border
#D2D0D7
text
#141118
muted
#828086

Preview Lab

Preview with #B796FF

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

Preview Lab → · Contrast checker → · Palette generator →

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