#B299DD#B299DD

#B299DD is a light, moderate violet. Relative luminance 0.375; OKLCH L 73.0% C 0.100 H 300.8°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#B299DD
RGBrgb(178, 153, 221)
HSLhsl(262, 50%, 73%)
HSVhsv(262, 31%, 87%)
CMYKcmyk(19.5%, 30.8%, 0%, 13.3%)
CIE-LABlab(67.63, 22.78, -31.16)
CIE-LCHlch(67.63, 38.60, 306.17°)
OKLaboklab(72.98% 0.0513 -0.0859)
OKLCHoklch(72.98% 0.1 300.8)
XYZxyz(42.7997, 37.4678, 73.3698)
Luminance0.3747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B299DD #C4DD99
analogous
#99A2DD #B299DD #D499DD
triadic
#B299DD #DDB299 #99DDB2
tetradic
#B299DD #DD99A2 #C4DD99 #99DDD4
square
#B299DD #DD99A2 #C4DD99 #99DDD4
split-complementary
#B299DD #DDD499 #A2DD99
monochromatic
#6D3FBD #8F6BCE #B299DD #D5C7EC #EEE8F7

Accessibility & contrast

On white

2.47
#B299DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#B299DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B299DD
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B299DD#FFFFFF#000000##000000
##B299DD1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b299dd;
/* rgb */ color: rgb(178, 153, 221);
/* oklch */ color: oklch(73.0% 0.100 300.8);
Tailwind
colors: {
  custom: {
    50: '#cab7e7',
    500: '#b299dd',
    950: '#000000',
  },
}
SCSS
$custom: #b299dd;
$custom-light: #cab7e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b299dd",
  "rgb": {
    "r": 178,
    "g": 153,
    "b": 221
  },
  "hsl": {
    "h": 262.059,
    "s": 50,
    "l": 73.333
  },
  "oklch": {
    "l": 0.72981,
    "c": 0.10001,
    "h": 300.8
  },
  "luminance": 0.37468
}

Semantic roles & 50–950 ramp

primary
#B299DD
secondary
#E8EEDD
accent
#BD2886
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B299DD

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

Preview Lab → · Contrast checker → · Palette generator →

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