#B795CB#B795CB

#B795CB is a light, moderate violet. Relative luminance 0.359; OKLCH L 71.9% C 0.085 H 312.7°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#B795CB
RGBrgb(183, 149, 203)
HSLhsl(278, 34%, 69%)
HSVhsv(278, 27%, 80%)
CMYKcmyk(9.9%, 26.6%, 0%, 20.4%)
CIE-LABlab(66.42, 22.68, -22.99)
CIE-LCHlch(66.42, 32.29, 314.61°)
OKLaboklab(71.94% 0.0578 -0.0626)
OKLCHoklch(71.94% 0.085 312.7)
XYZxyz(41.0536, 35.8745, 61.2501)
Luminance0.3587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B795CB #A9CB95
analogous
#9C95CB #B795CB #CB95C4
triadic
#B795CB #CBB795 #95CBB7
tetradic
#B795CB #CB9C95 #A9CB95 #95C4CB
square
#B795CB #CB9C95 #A9CB95 #95C4CB
split-complementary
#B795CB #C4CB95 #95CB9C
monochromatic
#7D4C9A #9B6CB7 #B795CB #D3BEDF #EFE7F3

Accessibility & contrast

On white

2.57
#B795CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#B795CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B795CB
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B795CB#FFFFFF#000000##000000
##B795CB1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DA0CD
Deuteranopia (green-blind)
#94A2C9
Tritanopia (blue-blind)
#B59CA8
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b795cb;
/* rgb */ color: rgb(183, 149, 203);
/* oklch */ color: oklch(71.9% 0.085 312.7);
Tailwind
colors: {
  custom: {
    50: '#cdb4db',
    500: '#b795cb',
    950: '#000000',
  },
}
SCSS
$custom: #b795cb;
$custom-light: #cdb4db;
$custom-dark: #000000;
JSON
{
  "hex": "#b795cb",
  "rgb": {
    "r": 183,
    "g": 149,
    "b": 203
  },
  "hsl": {
    "h": 277.778,
    "s": 34.177,
    "l": 69.02
  },
  "oklch": {
    "l": 0.7194,
    "c": 0.08526,
    "h": 312.7
  },
  "luminance": 0.35874
}

Semantic roles & 50–950 ramp

primary
#B795CB
secondary
#DCE6D6
accent
#AD3964
background
#FCFBFD
surface
#F9F6FA
border
#D2D0D3
text
#131115
muted
#828083

Preview Lab

Preview with #B795CB

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

Preview Lab → · Contrast checker → · Palette generator →

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