#BA99DF#BA99DF

#BA99DF is a light, moderate violet. Relative luminance 0.385; OKLCH L 73.8% C 0.105 H 305.6°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#BA99DF
RGBrgb(186, 153, 223)
HSLhsl(268, 52%, 74%)
HSVhsv(268, 31%, 87%)
CMYKcmyk(16.6%, 31.4%, 0%, 12.5%)
CIE-LABlab(68.42, 25.68, -30.97)
CIE-LCHlch(68.42, 40.23, 309.67°)
OKLaboklab(73.79% 0.0609 -0.0852)
OKLCHoklch(73.79% 0.105 305.6)
XYZxyz(44.9576, 38.5495, 74.8701)
Luminance0.3855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA99DF #BEDF99
analogous
#999BDF #BA99DF #DD99DF
triadic
#BA99DF #DFBA99 #99DFBA
tetradic
#BA99DF #DF999B #BEDF99 #99DFDD
square
#BA99DF #DF999B #BEDF99 #99DFDD
split-complementary
#BA99DF #DFDD99 #9BDF99
monochromatic
#7B3DC1 #9A6AD0 #BA99DF #DAC8EE #EFE8F8

Accessibility & contrast

On white

2.41
#BA99DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#BA99DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA99DF
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA99DF#FFFFFF#000000##000000
##BA99DF1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA6E2
Deuteranopia (green-blind)
#92A7DD
Tritanopia (blue-blind)
#B5A3B2
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ba99df;
/* rgb */ color: rgb(186, 153, 223);
/* oklch */ color: oklch(73.8% 0.105 305.6);
Tailwind
colors: {
  custom: {
    50: '#cfb7e9',
    500: '#ba99df',
    950: '#000000',
  },
}
SCSS
$custom: #ba99df;
$custom-light: #cfb7e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba99df",
  "rgb": {
    "r": 186,
    "g": 153,
    "b": 223
  },
  "hsl": {
    "h": 268.286,
    "s": 52.239,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73788,
    "c": 0.10475,
    "h": 305.6
  },
  "luminance": 0.38549
}

Semantic roles & 50–950 ramp

primary
#BA99DF
secondary
#E6EFDC
accent
#C02677
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BA99DF

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

Preview Lab → · Contrast checker → · Palette generator →

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