#BA9FCD#BA9FCD

#BA9FCD is a light, moderate violet. Relative luminance 0.396; OKLCH L 74.2% C 0.071 H 311.1°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#BA9FCD
RGBrgb(186, 159, 205)
HSLhsl(275, 32%, 71%)
HSVhsv(275, 22%, 80%)
CMYKcmyk(9.3%, 22.4%, 0%, 19.6%)
CIE-LABlab(69.21, 18.50, -19.82)
CIE-LCHlch(69.21, 27.11, 313.03°)
OKLaboklab(74.18% 0.0469 -0.0538)
OKLCHoklch(74.18% 0.071 311.1)
XYZxyz(43.6654, 39.6436, 63.0974)
Luminance0.3964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA9FCD #B2CD9F
analogous
#A39FCD #BA9FCD #CD9FC9
triadic
#BA9FCD #CDBA9F #9FCDBA
tetradic
#BA9FCD #CDA39F #B2CD9F #9FC9CD
square
#BA9FCD #CDA39F #B2CD9F #9FC9CD
split-complementary
#BA9FCD #C9CD9F #9FCDA3
monochromatic
#7F539F #9D77B8 #BA9FCD #D7C7E2 #F1EBF5

Accessibility & contrast

On white

2.35
#BA9FCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#BA9FCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA9FCD
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA9FCD#FFFFFF#000000##000000
##BA9FCD1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#98A8CF
Deuteranopia (green-blind)
#9EAACC
Tritanopia (blue-blind)
#B8A5AF
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ba9fcd;
/* rgb */ color: rgb(186, 159, 205);
/* oklch */ color: oklch(74.2% 0.071 311.1);
Tailwind
colors: {
  custom: {
    50: '#cfbbdc',
    500: '#ba9fcd',
    950: '#000000',
  },
}
SCSS
$custom: #ba9fcd;
$custom-light: #cfbbdc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba9fcd",
  "rgb": {
    "r": 186,
    "g": 159,
    "b": 205
  },
  "hsl": {
    "h": 275.217,
    "s": 31.507,
    "l": 71.373
  },
  "oklch": {
    "l": 0.74176,
    "c": 0.07139,
    "h": 311.1
  },
  "luminance": 0.39643
}

Semantic roles & 50–950 ramp

primary
#BA9FCD
secondary
#E3EADE
accent
#AA3B69
background
#FCFBFD
surface
#F9F6FB
border
#D2D0D4
text
#131215
muted
#828183

Preview Lab

Preview with #BA9FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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