#B299DB#B299DB

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

Color values

HEX#B299DB
RGBrgb(178, 153, 219)
HSLhsl(263, 48%, 73%)
HSVhsv(263, 30%, 86%)
CMYKcmyk(18.7%, 30.1%, 0%, 14.1%)
CIE-LABlab(67.55, 22.33, -30.17)
CIE-LCHlch(67.55, 37.54, 306.50°)
OKLaboklab(72.89% 0.0507 -0.0831)
OKLCHoklch(72.89% 0.097 301.4)
XYZxyz(42.5348, 37.3619, 71.9748)
Luminance0.3736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B299DB #C2DB99
analogous
#99A1DB #B299DB #D399DB
triadic
#B299DB #DBB299 #99DBB2
tetradic
#B299DB #DB99A1 #C2DB99 #99DBD3
square
#B299DB #DB99A1 #C2DB99 #99DBD3
split-complementary
#B299DB #DBD399 #A1DB99
monochromatic
#6E41B8 #906CCB #B299DB #D4C6EB #EEE8F7

Accessibility & contrast

On white

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

On black

8.47
#B299DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B299DB
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B299DB#FFFFFF#000000##000000
##B299DB1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA4DE
Deuteranopia (green-blind)
#8FA4D9
Tritanopia (blue-blind)
#ABA3B1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b299db;
/* rgb */ color: rgb(178, 153, 219);
/* oklch */ color: oklch(72.9% 0.097 301.4);
Tailwind
colors: {
  custom: {
    50: '#cab7e6',
    500: '#b299db',
    950: '#000000',
  },
}
SCSS
$custom: #b299db;
$custom-light: #cab7e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b299db",
  "rgb": {
    "r": 178,
    "g": 153,
    "b": 219
  },
  "hsl": {
    "h": 262.727,
    "s": 47.826,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72894,
    "c": 0.09734,
    "h": 301.4
  },
  "luminance": 0.37362
}

Semantic roles & 50–950 ramp

primary
#B299DB
secondary
#E8EEDD
accent
#BB2A84
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #B299DB

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

Preview Lab → · Contrast checker → · Palette generator →

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