#B796CA#B796CA

#B796CA is a light, moderate violet. Relative luminance 0.361; OKLCH L 72.1% C 0.082 H 313.0°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#B796CA
RGBrgb(183, 150, 202)
HSLhsl(278, 33%, 69%)
HSVhsv(278, 26%, 79%)
CMYKcmyk(9.4%, 25.7%, 0%, 20.8%)
CIE-LABlab(66.63, 21.91, -22.12)
CIE-LCHlch(66.63, 31.13, 314.73°)
OKLaboklab(72.09% 0.056 -0.0602)
OKLCHoklch(72.09% 0.082 313)
XYZxyz(41.0937, 36.1448, 60.6775)
Luminance0.3614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B796CA #A9CA96
analogous
#9D96CA #B796CA #CA96C3
triadic
#B796CA #CAB796 #96CAB7
tetradic
#B796CA #CA9D96 #A9CA96 #96C3CA
square
#B796CA #CA9D96 #A9CA96 #96C3CA
split-complementary
#B796CA #C3CA96 #96CA9D
monochromatic
#7D4D99 #9B6DB5 #B796CA #D3BFDF #EFE7F3

Accessibility & contrast

On white

2.55
#B796CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#B796CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B796CA
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B796CA#FFFFFF#000000##000000
##B796CA1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA0CC
Deuteranopia (green-blind)
#95A3C8
Tritanopia (blue-blind)
#B69CA8
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b796ca;
/* rgb */ color: rgb(183, 150, 202);
/* oklch */ color: oklch(72.1% 0.082 313.0);
Tailwind
colors: {
  custom: {
    50: '#cdb5da',
    500: '#b796ca',
    950: '#000000',
  },
}
SCSS
$custom: #b796ca;
$custom-light: #cdb5da;
$custom-dark: #000000;
JSON
{
  "hex": "#b796ca",
  "rgb": {
    "r": 183,
    "g": 150,
    "b": 202
  },
  "hsl": {
    "h": 278.077,
    "s": 32.911,
    "l": 69.02
  },
  "oklch": {
    "l": 0.72087,
    "c": 0.08225,
    "h": 313
  },
  "luminance": 0.36144
}

Semantic roles & 50–950 ramp

primary
#B796CA
secondary
#DCE6D6
accent
#AC3A63
background
#FCFBFD
surface
#F9F6FA
border
#D2D0D3
text
#131114
muted
#828083

Preview Lab

Preview with #B796CA

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

Preview Lab → · Contrast checker → · Palette generator →

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