#B795CD#B795CD

#B795CD is a light, moderate violet. Relative luminance 0.360; OKLCH L 72.0% C 0.088 H 311.7°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#B795CD
RGBrgb(183, 149, 205)
HSLhsl(276, 36%, 69%)
HSVhsv(276, 27%, 80%)
CMYKcmyk(10.7%, 27.3%, 0%, 19.6%)
CIE-LABlab(66.50, 23.10, -23.99)
CIE-LCHlch(66.50, 33.30, 313.92°)
OKLaboklab(72.02% 0.0584 -0.0655)
OKLCHoklch(72.02% 0.088 311.7)
XYZxyz(41.2935, 35.9704, 62.5134)
Luminance0.3597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B795CD #ABCD95
analogous
#9B95CD #B795CD #CD95C7
triadic
#B795CD #CDB795 #95CDB7
tetradic
#B795CD #CD9B95 #ABCD95 #95C7CD
square
#B795CD #CD9B95 #ABCD95 #95C7CD
split-complementary
#B795CD #C7CD95 #95CD9B
monochromatic
#7D4A9D #9B6BB9 #B795CD #D3BFE1 #EFE8F4

Accessibility & contrast

On white

2.56
#B795CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#B795CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B795CD
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B795CD#FFFFFF#000000##000000
##B795CD1.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA0CF
Deuteranopia (green-blind)
#93A2CB
Tritanopia (blue-blind)
#B59CA9
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b795cd;
/* rgb */ color: rgb(183, 149, 205);
/* oklch */ color: oklch(72.0% 0.088 311.7);
Tailwind
colors: {
  custom: {
    50: '#cdb4dc',
    500: '#b795cd',
    950: '#000000',
  },
}
SCSS
$custom: #b795cd;
$custom-light: #cdb4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b795cd",
  "rgb": {
    "r": 183,
    "g": 149,
    "b": 205
  },
  "hsl": {
    "h": 276.429,
    "s": 35.897,
    "l": 69.412
  },
  "oklch": {
    "l": 0.72021,
    "c": 0.08774,
    "h": 311.7
  },
  "luminance": 0.3597
}

Semantic roles & 50–950 ramp

primary
#B795CD
secondary
#DDE7D7
accent
#AF3766
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #B795CD

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

Preview Lab → · Contrast checker → · Palette generator →

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