#B299CB#B299CB

#B299CB is a light, moderate violet. Relative luminance 0.366; OKLCH L 72.2% C 0.076 H 307.3°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#B299CB
RGBrgb(178, 153, 203)
HSLhsl(270, 32%, 70%)
HSVhsv(270, 25%, 80%)
CMYKcmyk(12.3%, 24.6%, 0%, 20.4%)
CIE-LABlab(66.95, 18.82, -22.23)
CIE-LCHlch(66.95, 29.13, 310.24°)
OKLaboklab(72.23% 0.0461 -0.0606)
OKLCHoklch(72.23% 0.076 307.3)
XYZxyz(40.5288, 36.5595, 61.4099)
Luminance0.3656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B299CB #B2CB99
analogous
#9999CB #B299CB #CB99CB
triadic
#B299CB #CBB299 #99CBB2
tetradic
#B299CB #CB9999 #B2CB99 #99CBCB
square
#B299CB #CB9999 #B2CB99 #99CBCB
split-complementary
#B299CB #CBCB99 #99CB99
monochromatic
#754F9B #9370B6 #B299CB #D1C2E0 #EFEAF4

Accessibility & contrast

On white

2.53
#B299CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#B299CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B299CB
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B299CB#FFFFFF#000000##000000
##B299CB1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A2CD
Deuteranopia (green-blind)
#95A3C9
Tritanopia (blue-blind)
#AFA0AA
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b299cb;
/* rgb */ color: rgb(178, 153, 203);
/* oklch */ color: oklch(72.2% 0.076 307.3);
Tailwind
colors: {
  custom: {
    50: '#c9b7db',
    500: '#b299cb',
    950: '#000000',
  },
}
SCSS
$custom: #b299cb;
$custom-light: #c9b7db;
$custom-dark: #000000;
JSON
{
  "hex": "#b299cb",
  "rgb": {
    "r": 178,
    "g": 153,
    "b": 203
  },
  "hsl": {
    "h": 270,
    "s": 32.468,
    "l": 69.804
  },
  "oklch": {
    "l": 0.72233,
    "c": 0.07619,
    "h": 307.3
  },
  "luminance": 0.36559
}

Semantic roles & 50–950 ramp

primary
#B299CB
secondary
#E0E7D9
accent
#AB3A73
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#131115
muted
#828083

Preview Lab

Preview with #B299CB

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

Preview Lab → · Contrast checker → · Palette generator →

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