#B795DB#B795DB

#B795DB is a light, moderate violet. Relative luminance 0.367; OKLCH L 72.6% C 0.105 H 306.2°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#B795DB
RGBrgb(183, 149, 219)
HSLhsl(269, 49%, 72%)
HSVhsv(269, 32%, 86%)
CMYKcmyk(16.4%, 32%, 0%, 14.1%)
CIE-LABlab(67.03, 26.11, -30.93)
CIE-LCHlch(67.03, 40.48, 310.17°)
OKLaboklab(72.61% 0.0622 -0.0851)
OKLCHoklch(72.61% 0.105 306.2)
XYZxyz(43.0596, 36.6769, 71.8150)
Luminance0.3668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B795DB #B9DB95
analogous
#9596DB #B795DB #DA95DB
triadic
#B795DB #DBB795 #95DBB7
tetradic
#B795DB #DB9596 #B9DB95 #95DBDA
square
#B795DB #DB9596 #B9DB95 #95DBDA
split-complementary
#B795DB #DBDA95 #96DB95
monochromatic
#793EB7 #9867CB #B795DB #D6C3EB #EFE8F7

Accessibility & contrast

On white

2.52
#B795DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#B795DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B795DB
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B795DB#FFFFFF#000000##000000
##B795DB1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A2DE
Deuteranopia (green-blind)
#8EA3D9
Tritanopia (blue-blind)
#B29FAE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b795db;
/* rgb */ color: rgb(183, 149, 219);
/* oklch */ color: oklch(72.6% 0.105 306.2);
Tailwind
colors: {
  custom: {
    50: '#cdb4e6',
    500: '#b795db',
    950: '#000000',
  },
}
SCSS
$custom: #b795db;
$custom-light: #cdb4e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b795db",
  "rgb": {
    "r": 183,
    "g": 149,
    "b": 219
  },
  "hsl": {
    "h": 269.143,
    "s": 49.296,
    "l": 72.157
  },
  "oklch": {
    "l": 0.72608,
    "c": 0.10546,
    "h": 306.2
  },
  "luminance": 0.36677
}

Semantic roles & 50–950 ramp

primary
#B795DB
secondary
#E6EEDD
accent
#BD2975
background
#FCFBFE
surface
#F9F6FC
border
#D2D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B795DB

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

Preview Lab → · Contrast checker → · Palette generator →

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