#BA9CD2#BA9CD2

#BA9CD2 is a light, moderate violet. Relative luminance 0.389; OKLCH L 73.8% C 0.083 H 309.6°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#BA9CD2
RGBrgb(186, 156, 210)
HSLhsl(273, 38%, 72%)
HSVhsv(273, 26%, 82%)
CMYKcmyk(11.4%, 25.7%, 0%, 17.6%)
CIE-LABlab(68.66, 21.21, -23.44)
CIE-LCHlch(68.66, 31.61, 312.15°)
OKLaboklab(73.8% 0.0529 -0.0639)
OKLCHoklch(73.8% 0.083 309.6)
XYZxyz(43.7690, 38.8696, 66.1571)
Luminance0.3887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9CD2 #B4D29C
analogous
#9F9CD2 #BA9CD2 #D29CCF
triadic
#BA9CD2 #D2BA9C #9CD2BA
tetradic
#BA9CD2 #D29F9C #B4D29C #9CCFD2
square
#BA9CD2 #D29F9C #B4D29C #9CCFD2
split-complementary
#BA9CD2 #CFD29C #9CD29F
monochromatic
#7F4CA7 #9D72BF #BA9CD2 #D7C6E5 #F0EAF5

Accessibility & contrast

On white

2.39
#BA9CD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#BA9CD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9CD2
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9CD2#FFFFFF#000000##000000
##BA9CD21.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#93A6D4
Deuteranopia (green-blind)
#99A8D0
Tritanopia (blue-blind)
#B7A3AF
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #ba9cd2;
/* rgb */ color: rgb(186, 156, 210);
/* oklch */ color: oklch(73.8% 0.083 309.6);
Tailwind
colors: {
  custom: {
    50: '#cfb9e0',
    500: '#ba9cd2',
    950: '#000000',
  },
}
SCSS
$custom: #ba9cd2;
$custom-light: #cfb9e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9cd2",
  "rgb": {
    "r": 186,
    "g": 156,
    "b": 210
  },
  "hsl": {
    "h": 273.333,
    "s": 37.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73804,
    "c": 0.08298,
    "h": 309.6
  },
  "luminance": 0.38869
}

Semantic roles & 50–950 ramp

primary
#BA9CD2
secondary
#E4ECDE
accent
#B0356C
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#141115
muted
#828083

Preview Lab

Preview with #BA9CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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