#B792DB#B792DB

#B792DB is a light, moderate violet. Relative luminance 0.357; OKLCH L 72.1% C 0.111 H 307.0°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#B792DB
RGBrgb(183, 146, 219)
HSLhsl(270, 50%, 72%)
HSVhsv(270, 33%, 86%)
CMYKcmyk(16.4%, 33.3%, 0%, 14.1%)
CIE-LABlab(66.32, 27.79, -32.03)
CIE-LCHlch(66.32, 42.41, 310.94°)
OKLaboklab(72.06% 0.0666 -0.0883)
OKLCHoklch(72.06% 0.111 307)
XYZxyz(42.5911, 35.7398, 71.6588)
Luminance0.3574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B792DB #B6DB92
analogous
#9392DB #B792DB #DB92DB
triadic
#B792DB #DBB792 #92DBB7
tetradic
#B792DB #DB9392 #B6DB92 #92DBDB
square
#B792DB #DB9392 #B6DB92 #92DBDB
split-complementary
#B792DB #DBDB92 #92DB93
monochromatic
#7A3CB6 #9964CC #B792DB #D5C0EA #F0E8F7

Accessibility & contrast

On white

2.58
#B792DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#B792DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B792DB
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B792DB#FFFFFF#000000##000000
##B792DB1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A0DE
Deuteranopia (green-blind)
#8BA2D9
Tritanopia (blue-blind)
#B29DAD
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b792db;
/* rgb */ color: rgb(183, 146, 219);
/* oklch */ color: oklch(72.1% 0.111 307.0);
Tailwind
colors: {
  custom: {
    50: '#cdb2e6',
    500: '#b792db',
    950: '#000000',
  },
}
SCSS
$custom: #b792db;
$custom-light: #cdb2e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b792db",
  "rgb": {
    "r": 183,
    "g": 146,
    "b": 219
  },
  "hsl": {
    "h": 270.411,
    "s": 50.345,
    "l": 71.569
  },
  "oklch": {
    "l": 0.72064,
    "c": 0.11056,
    "h": 307
  },
  "luminance": 0.3574
}

Semantic roles & 50–950 ramp

primary
#B792DB
secondary
#E4EEDB
accent
#BE2872
background
#FCFBFE
surface
#F9F6FC
border
#D2D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B792DB

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

Preview Lab → · Contrast checker → · Palette generator →

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