#B299CA#B299CA

#B299CA is a light, moderate violet. Relative luminance 0.365; OKLCH L 72.2% C 0.075 H 307.8°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#B299CA
RGBrgb(178, 153, 202)
HSLhsl(271, 32%, 70%)
HSVhsv(271, 24%, 79%)
CMYKcmyk(11.9%, 24.3%, 0%, 20.8%)
CIE-LABlab(66.91, 18.60, -21.73)
CIE-LCHlch(66.91, 28.61, 310.56°)
OKLaboklab(72.19% 0.0459 -0.0592)
OKLCHoklch(72.19% 0.075 307.8)
XYZxyz(40.4101, 36.5120, 60.7843)
Luminance0.3651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B299CA #B1CA99
analogous
#9A99CA #B299CA #CA99CA
triadic
#B299CA #CAB299 #99CAB2
tetradic
#B299CA #CA9A99 #B1CA99 #99CACA
square
#B299CA #CA9A99 #B1CA99 #99CACA
split-complementary
#B299CA #CACA99 #99CA9A
monochromatic
#755099 #9471B5 #B299CA #D0C1DF #EFEAF4

Accessibility & contrast

On white

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

On black

8.30
#B299CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B299CA
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B299CA#FFFFFF#000000##000000
##B299CA1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A2CC
Deuteranopia (green-blind)
#96A3C8
Tritanopia (blue-blind)
#AF9FAA
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b299ca;
/* rgb */ color: rgb(178, 153, 202);
/* oklch */ color: oklch(72.2% 0.075 307.8);
Tailwind
colors: {
  custom: {
    50: '#c9b7da',
    500: '#b299ca',
    950: '#000000',
  },
}
SCSS
$custom: #b299ca;
$custom-light: #c9b7da;
$custom-dark: #000000;
JSON
{
  "hex": "#b299ca",
  "rgb": {
    "r": 178,
    "g": 153,
    "b": 202
  },
  "hsl": {
    "h": 270.612,
    "s": 31.613,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72193,
    "c": 0.07489,
    "h": 307.8
  },
  "luminance": 0.36512
}

Semantic roles & 50–950 ramp

primary
#B299CA
secondary
#DFE6D8
accent
#AA3B72
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#131114
muted
#828083

Preview Lab

Preview with #B299CA

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

Preview Lab → · Contrast checker → · Palette generator →

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