#B792DF#B792DF

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

Color values

HEX#B792DF
RGBrgb(183, 146, 223)
HSLhsl(269, 55%, 72%)
HSVhsv(269, 35%, 87%)
CMYKcmyk(17.9%, 34.5%, 0%, 12.5%)
CIE-LABlab(66.48, 28.67, -34.00)
CIE-LCHlch(66.48, 44.47, 310.14°)
OKLaboklab(72.24% 0.0676 -0.0939)
OKLCHoklch(72.24% 0.116 305.7)
XYZxyz(43.1240, 35.9530, 74.4655)
Luminance0.3595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B792DF #BADF92
analogous
#9294DF #B792DF #DD92DF
triadic
#B792DF #DFB792 #92DFB7
tetradic
#B792DF #DF9294 #BADF92 #92DFDD
square
#B792DF #DF9294 #BADF92 #92DFDD
split-complementary
#B792DF #DFDD92 #94DF92
monochromatic
#7938BF #9863D1 #B792DF #D6C1ED #EFE7F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B792DF#FFFFFF#000000##000000
##B792DF1.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)
#82A0E2
Deuteranopia (green-blind)
#8AA2DD
Tritanopia (blue-blind)
#B19DAE
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #b792df;
/* rgb */ color: rgb(183, 146, 223);
/* oklch */ color: oklch(72.2% 0.116 305.7);
Tailwind
colors: {
  custom: {
    50: '#cdb2e9',
    500: '#b792df',
    950: '#000000',
  },
}
SCSS
$custom: #b792df;
$custom-light: #cdb2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b792df",
  "rgb": {
    "r": 183,
    "g": 146,
    "b": 223
  },
  "hsl": {
    "h": 268.831,
    "s": 54.61,
    "l": 72.353
  },
  "oklch": {
    "l": 0.72242,
    "c": 0.11565,
    "h": 305.7
  },
  "luminance": 0.35953
}

Semantic roles & 50–950 ramp

primary
#B792DF
secondary
#E6EFDC
accent
#C22376
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #B792DF

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

Preview Lab → · Contrast checker → · Palette generator →

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