#BA99CE#BA99CE

#BA99CE is a light, moderate violet. Relative luminance 0.377; OKLCH L 73.1% C 0.083 H 312.5°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#BA99CE
RGBrgb(186, 153, 206)
HSLhsl(277, 35%, 70%)
HSVhsv(277, 26%, 81%)
CMYKcmyk(9.7%, 25.7%, 0%, 19.2%)
CIE-LABlab(67.78, 22.05, -22.56)
CIE-LCHlch(67.78, 31.54, 314.35°)
OKLaboklab(73.08% 0.0562 -0.0614)
OKLCHoklch(73.08% 0.083 312.5)
XYZxyz(42.7797, 37.6783, 63.3996)
Luminance0.3768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA99CE #ADCE99
analogous
#9F99CE #BA99CE #CE99C7
triadic
#BA99CE #CEBA99 #99CEBA
tetradic
#BA99CE #CE9F99 #ADCE99 #99C7CE
square
#BA99CE #CE9F99 #ADCE99 #99C7CE
split-complementary
#BA99CE #C7CE99 #99CE9F
monochromatic
#804DA0 #9E70BA #BA99CE #D6C2E2 #F1EAF5

Accessibility & contrast

On white

2.46
#BA99CE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#BA99CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA99CE
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA99CE#FFFFFF#000000##000000
##BA99CE1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A3D0
Deuteranopia (green-blind)
#98A6CC
Tritanopia (blue-blind)
#B89FAC
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ba99ce;
/* rgb */ color: rgb(186, 153, 206);
/* oklch */ color: oklch(73.1% 0.083 312.5);
Tailwind
colors: {
  custom: {
    50: '#cfb7dd',
    500: '#ba99ce',
    950: '#000000',
  },
}
SCSS
$custom: #ba99ce;
$custom-light: #cfb7dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba99ce",
  "rgb": {
    "r": 186,
    "g": 153,
    "b": 206
  },
  "hsl": {
    "h": 277.358,
    "s": 35.099,
    "l": 70.392
  },
  "oklch": {
    "l": 0.73085,
    "c": 0.08324,
    "h": 312.5
  },
  "luminance": 0.37678
}

Semantic roles & 50–950 ramp

primary
#BA99CE
secondary
#E0E9DA
accent
#AE3864
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#141115
muted
#828083

Preview Lab

Preview with #BA99CE

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

Preview Lab → · Contrast checker → · Palette generator →

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