#B799DC#B799DC

#B799DC is a light, moderate violet. Relative luminance 0.380; OKLCH L 73.4% C 0.100 H 304.6°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#B799DC
RGBrgb(183, 153, 220)
HSLhsl(267, 49%, 73%)
HSVhsv(267, 30%, 86%)
CMYKcmyk(16.8%, 30.5%, 0%, 13.7%)
CIE-LABlab(68.03, 24.09, -29.94)
CIE-LCHlch(68.03, 38.43, 308.82°)
OKLaboklab(73.39% 0.0567 -0.0823)
OKLCHoklch(73.39% 0.1 304.6)
XYZxyz(43.8354, 38.0172, 72.7250)
Luminance0.3802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B799DC #BEDC99
analogous
#999CDC #B799DC #D899DC
triadic
#B799DC #DCB799 #99DCB7
tetradic
#B799DC #DC999C #BEDC99 #99DCD8
square
#B799DC #DC999C #BEDC99 #99DCD8
split-complementary
#B799DC #DCD899 #9CDC99
monochromatic
#7740BB #976BCC #B799DC #D7C7EC #EFE8F7

Accessibility & contrast

On white

2.44
#B799DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#B799DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B799DC
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B799DC#FFFFFF#000000##000000
##B799DC1.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA5DF
Deuteranopia (green-blind)
#91A6DA
Tritanopia (blue-blind)
#B1A3B1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b799dc;
/* rgb */ color: rgb(183, 153, 220);
/* oklch */ color: oklch(73.4% 0.100 304.6);
Tailwind
colors: {
  custom: {
    50: '#cdb7e7',
    500: '#b799dc',
    950: '#000000',
  },
}
SCSS
$custom: #b799dc;
$custom-light: #cdb7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b799dc",
  "rgb": {
    "r": 183,
    "g": 153,
    "b": 220
  },
  "hsl": {
    "h": 266.866,
    "s": 48.905,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73386,
    "c": 0.09997,
    "h": 304.6
  },
  "luminance": 0.38017
}

Semantic roles & 50–950 ramp

primary
#B799DC
secondary
#E6EEDD
accent
#BC297A
background
#FCFBFE
surface
#F9F6FC
border
#D2D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B799DC

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

Preview Lab → · Contrast checker → · Palette generator →

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