#B299DC#B299DC

#B299DC is a light, moderate violet. Relative luminance 0.374; OKLCH L 72.9% C 0.099 H 301.1°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#B299DC
RGBrgb(178, 153, 220)
HSLhsl(262, 49%, 73%)
HSVhsv(262, 30%, 86%)
CMYKcmyk(19.1%, 30.5%, 0%, 13.7%)
CIE-LABlab(67.59, 22.55, -30.67)
CIE-LCHlch(67.59, 38.07, 306.33°)
OKLaboklab(72.94% 0.051 -0.0845)
OKLCHoklch(72.94% 0.099 301.1)
XYZxyz(42.6669, 37.4147, 72.6702)
Luminance0.3741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B299DC #C3DC99
analogous
#99A1DC #B299DC #D399DC
triadic
#B299DC #DCB299 #99DCB2
tetradic
#B299DC #DC99A1 #C3DC99 #99DCD3
square
#B299DC #DC99A1 #C3DC99 #99DCD3
split-complementary
#B299DC #DCD399 #A1DC99
monochromatic
#6E40BB #906BCC #B299DC #D4C7EC #EEE8F7

Accessibility & contrast

On white

2.48
#B299DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#B299DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B299DC
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B299DC#FFFFFF#000000##000000
##B299DC1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA4DF
Deuteranopia (green-blind)
#8FA4DA
Tritanopia (blue-blind)
#ABA3B1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b299dc;
/* rgb */ color: rgb(178, 153, 220);
/* oklch */ color: oklch(72.9% 0.099 301.1);
Tailwind
colors: {
  custom: {
    50: '#cab7e7',
    500: '#b299dc',
    950: '#000000',
  },
}
SCSS
$custom: #b299dc;
$custom-light: #cab7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b299dc",
  "rgb": {
    "r": 178,
    "g": 153,
    "b": 220
  },
  "hsl": {
    "h": 262.388,
    "s": 48.905,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72938,
    "c": 0.09868,
    "h": 301.1
  },
  "luminance": 0.37415
}

Semantic roles & 50–950 ramp

primary
#B299DC
secondary
#E8EEDD
accent
#BC2985
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B299DC

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

Preview Lab → · Contrast checker → · Palette generator →

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