#BA9DCD#BA9DCD

#BA9DCD is a light, moderate violet. Relative luminance 0.390; OKLCH L 73.8% C 0.075 H 311.8°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#BA9DCD
RGBrgb(186, 157, 205)
HSLhsl(276, 32%, 71%)
HSVhsv(276, 23%, 80%)
CMYKcmyk(9.3%, 23.4%, 0%, 19.6%)
CIE-LABlab(68.72, 19.61, -20.57)
CIE-LCHlch(68.72, 28.42, 313.64°)
OKLaboklab(73.8% 0.0499 -0.0559)
OKLCHoklch(73.8% 0.075 311.8)
XYZxyz(43.3243, 38.9613, 62.9837)
Luminance0.3896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9DCD #B0CD9D
analogous
#A29DCD #BA9DCD #CD9DC8
triadic
#BA9DCD #CDBA9D #9DCDBA
tetradic
#BA9DCD #CDA29D #B0CD9D #9DC8CD
square
#BA9DCD #CDA29D #B0CD9D #9DC8CD
split-complementary
#BA9DCD #C8CD9D #9DCDA2
monochromatic
#80519F #9D74B8 #BA9DCD #D7C6E2 #F1EBF5

Accessibility & contrast

On white

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

On black

8.79
#BA9DCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9DCD
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9DCD#FFFFFF#000000##000000
##BA9DCD1.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#96A6CF
Deuteranopia (green-blind)
#9CA8CB
Tritanopia (blue-blind)
#B8A3AE
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #ba9dcd;
/* rgb */ color: rgb(186, 157, 205);
/* oklch */ color: oklch(73.8% 0.075 311.8);
Tailwind
colors: {
  custom: {
    50: '#cfbadc',
    500: '#ba9dcd',
    950: '#000000',
  },
}
SCSS
$custom: #ba9dcd;
$custom-light: #cfbadc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9dcd",
  "rgb": {
    "r": 186,
    "g": 157,
    "b": 205
  },
  "hsl": {
    "h": 276.25,
    "s": 32.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73797,
    "c": 0.07492,
    "h": 311.8
  },
  "luminance": 0.38961
}

Semantic roles & 50–950 ramp

primary
#BA9DCD
secondary
#E2E9DD
accent
#AB3A67
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#141115
muted
#828083

Preview Lab

Preview with #BA9DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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