#B796DF#B796DF

#B796DF is a light, moderate violet. Relative luminance 0.372; OKLCH L 73.0% C 0.109 H 304.6°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#B796DF
RGBrgb(183, 150, 223)
HSLhsl(267, 53%, 73%)
HSVhsv(267, 33%, 87%)
CMYKcmyk(17.9%, 32.7%, 0%, 12.5%)
CIE-LABlab(67.43, 26.44, -32.52)
CIE-LCHlch(67.43, 41.91, 309.10°)
OKLaboklab(72.97% 0.0618 -0.0897)
OKLCHoklch(72.97% 0.109 304.6)
XYZxyz(43.7514, 37.2078, 74.6747)
Luminance0.3721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B796DF #BEDF96
analogous
#9699DF #B796DF #DB96DF
triadic
#B796DF #DFB796 #96DFB7
tetradic
#B796DF #DF9699 #BEDF96 #96DFDB
square
#B796DF #DF9699 #BEDF96 #96DFDB
split-complementary
#B796DF #DFDB96 #99DF96
monochromatic
#773BC0 #9767D1 #B796DF #D7C5ED #EFE8F8

Accessibility & contrast

On white

2.49
#B796DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#B796DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B796DF
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B796DF#FFFFFF#000000##000000
##B796DF1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A3E2
Deuteranopia (green-blind)
#8DA4DD
Tritanopia (blue-blind)
#B1A1B1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b796df;
/* rgb */ color: rgb(183, 150, 223);
/* oklch */ color: oklch(73.0% 0.109 304.6);
Tailwind
colors: {
  custom: {
    50: '#cdb5e9',
    500: '#b796df',
    950: '#000000',
  },
}
SCSS
$custom: #b796df;
$custom-light: #cdb5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b796df",
  "rgb": {
    "r": 183,
    "g": 150,
    "b": 223
  },
  "hsl": {
    "h": 267.123,
    "s": 53.285,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72966,
    "c": 0.10891,
    "h": 304.6
  },
  "luminance": 0.37208
}

Semantic roles & 50–950 ramp

primary
#B796DF
secondary
#E6EFDC
accent
#C1257A
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B796DF

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

Preview Lab → · Contrast checker → · Palette generator →

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