#B795BF#B795BF

#B795BF is a light, moderate purple. Relative luminance 0.353; OKLCH L 71.5% C 0.071 H 319.8°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#B795BF
RGBrgb(183, 149, 191)
HSLhsl(289, 25%, 67%)
HSVhsv(289, 22%, 75%)
CMYKcmyk(4.2%, 22%, 0%, 25.1%)
CIE-LABlab(66.00, 20.24, -16.94)
CIE-LCHlch(66.00, 26.39, 320.07°)
OKLaboklab(71.47% 0.0541 -0.0457)
OKLCHoklch(71.47% 0.071 319.8)
XYZxyz(39.6786, 35.3245, 54.0082)
Luminance0.3532 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B795BF #9DBF95
analogous
#A295BF #B795BF #BF95B2
triadic
#B795BF #BFB795 #95BFB7
tetradic
#B795BF #BFA295 #9DBF95 #95B2BF
square
#B795BF #BFA295 #9DBF95 #95B2BF
split-complementary
#B795BF #B2BF95 #95BFA2
monochromatic
#7D5288 #9D6FA8 #B795BF #D1BBD6 #EBE1ED

Accessibility & contrast

On white

2.60
#B795BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#B795BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B795BF
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B795BF#FFFFFF#000000##000000
##B795BF1.002.608.068.06
#FFFFFF2.601.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#919EC1
Deuteranopia (green-blind)
#98A2BE
Tritanopia (blue-blind)
#B899A3
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b795bf;
/* rgb */ color: rgb(183, 149, 191);
/* oklch */ color: oklch(71.5% 0.071 319.8);
Tailwind
colors: {
  custom: {
    50: '#cdb4d2',
    500: '#b795bf',
    950: '#000000',
  },
}
SCSS
$custom: #b795bf;
$custom-light: #cdb4d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b795bf",
  "rgb": {
    "r": 183,
    "g": 149,
    "b": 191
  },
  "hsl": {
    "h": 288.571,
    "s": 24.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71475,
    "c": 0.07087,
    "h": 319.8
  },
  "luminance": 0.35324
}

Semantic roles & 50–950 ramp

primary
#B795BF
secondary
#D4DFD1
accent
#A34255
background
#FCFBFC
surface
#F9F6F9
border
#D2D0D2
text
#131114
muted
#828082

Preview Lab

Preview with #B795BF

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

Preview Lab → · Contrast checker → · Palette generator →

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