#BA9EC0#BA9EC0

#BA9EC0 is a light, muted purple. Relative luminance 0.387; OKLCH L 73.5% C 0.057 H 320.3°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#BA9EC0
RGBrgb(186, 158, 192)
HSLhsl(289, 21%, 69%)
HSVhsv(289, 18%, 75%)
CMYKcmyk(3.1%, 17.7%, 0%, 24.7%)
CIE-LABlab(68.53, 16.44, -13.65)
CIE-LCHlch(68.53, 21.37, 320.30°)
OKLaboklab(73.51% 0.0442 -0.0367)
OKLCHoklch(73.51% 0.057 320.3)
XYZxyz(41.9896, 38.6992, 55.1166)
Luminance0.3870 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9EC0 #A4C09E
analogous
#A99EC0 #BA9EC0 #C09EB5
triadic
#BA9EC0 #C0BA9E #9EC0BA
tetradic
#BA9EC0 #C0A99E #A4C09E #9EB5C0
square
#BA9EC0 #C0A99E #A4C09E #9EB5C0
split-complementary
#BA9EC0 #B5C09E #9EC0A9
monochromatic
#815A8A #A079A8 #BA9EC0 #D4C3D8 #EFE8F0

Accessibility & contrast

On white

2.40
#BA9EC0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#BA9EC0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9EC0
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9EC0#FFFFFF#000000##000000
##BA9EC01.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BA5C1
Deuteranopia (green-blind)
#A1A8BF
Tritanopia (blue-blind)
#BBA1A9
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ba9ec0;
/* rgb */ color: rgb(186, 158, 192);
/* oklch */ color: oklch(73.5% 0.057 320.3);
Tailwind
colors: {
  custom: {
    50: '#cfbad3',
    500: '#ba9ec0',
    950: '#000000',
  },
}
SCSS
$custom: #ba9ec0;
$custom-light: #cfbad3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9ec0",
  "rgb": {
    "r": 186,
    "g": 158,
    "b": 192
  },
  "hsl": {
    "h": 289.412,
    "s": 21.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.73505,
    "c": 0.05742,
    "h": 320.3
  },
  "luminance": 0.38699
}

Semantic roles & 50–950 ramp

primary
#BA9EC0
secondary
#DAE2D8
accent
#A04656
background
#FCFBFC
surface
#F9F6F9
border
#D2D0D2
text
#131114
muted
#828082

Preview Lab

Preview with #BA9EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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