#B299CD#B299CD

#B299CD is a light, moderate violet. Relative luminance 0.367; OKLCH L 72.3% C 0.079 H 306.4°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#B299CD
RGBrgb(178, 153, 205)
HSLhsl(269, 34%, 70%)
HSVhsv(269, 25%, 80%)
CMYKcmyk(13.2%, 25.4%, 0%, 19.6%)
CIE-LABlab(67.02, 19.24, -23.23)
CIE-LCHlch(67.02, 30.17, 309.63°)
OKLaboklab(72.31% 0.0468 -0.0634)
OKLCHoklch(72.31% 0.079 306.4)
XYZxyz(40.7687, 36.6554, 62.6732)
Luminance0.3665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B299CD #B4CD99
analogous
#999ACD #B299CD #CC99CD
triadic
#B299CD #CDB299 #99CDB2
tetradic
#B299CD #CD999A #B4CD99 #99CDCC
square
#B299CD #CD999A #B4CD99 #99CDCC
split-complementary
#B299CD #CDCC99 #9ACD99
monochromatic
#744D9E #9370B9 #B299CD #D1C2E1 #EFEAF5

Accessibility & contrast

On white

2.52
#B299CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#B299CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B299CD
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B299CD#FFFFFF#000000##000000
##B299CD1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A2CF
Deuteranopia (green-blind)
#95A3CB
Tritanopia (blue-blind)
#AEA0AB
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b299cd;
/* rgb */ color: rgb(178, 153, 205);
/* oklch */ color: oklch(72.3% 0.079 306.4);
Tailwind
colors: {
  custom: {
    50: '#c9b7dc',
    500: '#b299cd',
    950: '#000000',
  },
}
SCSS
$custom: #b299cd;
$custom-light: #c9b7dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b299cd",
  "rgb": {
    "r": 178,
    "g": 153,
    "b": 205
  },
  "hsl": {
    "h": 268.846,
    "s": 34.211,
    "l": 70.196
  },
  "oklch": {
    "l": 0.72312,
    "c": 0.0788,
    "h": 306.4
  },
  "luminance": 0.36655
}

Semantic roles & 50–950 ramp

primary
#B299CD
secondary
#E1E8DA
accent
#AD3875
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#131115
muted
#828083

Preview Lab

Preview with #B299CD

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

Preview Lab → · Contrast checker → · Palette generator →

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