#BA8FCA#BA8FCA

#BA8FCA is a light, moderate purple. Relative luminance 0.343; OKLCH L 71.1% C 0.096 H 316.7°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#BA8FCA
RGBrgb(186, 143, 202)
HSLhsl(284, 36%, 68%)
HSVhsv(284, 29%, 79%)
CMYKcmyk(7.9%, 29.2%, 0%, 20.8%)
CIE-LABlab(65.24, 26.80, -24.22)
CIE-LCHlch(65.24, 36.12, 317.89°)
OKLaboklab(71.09% 0.07 -0.066)
OKLCHoklch(71.09% 0.096 316.7)
XYZxyz(40.7313, 34.3491, 60.3500)
Luminance0.3435 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8FCA #9FCA8F
analogous
#9C8FCA #BA8FCA #CA8FBC
triadic
#BA8FCA #CABA8F #8FCABA
tetradic
#BA8FCA #CA9C8F #9FCA8F #8FBCCA
square
#BA8FCA #CA9C8F #9FCA8F #8FBCCA
split-complementary
#BA8FCA #BCCA8F #8FCA9C
monochromatic
#824897 #A065B6 #BA8FCA #D4B9DE #EDE2F1

Accessibility & contrast

On white

2.67
#BA8FCA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#BA8FCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA8FCA
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8FCA#FFFFFF#000000##000000
##BA8FCA1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#879CCC
Deuteranopia (green-blind)
#91A0C8
Tritanopia (blue-blind)
#BA96A4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ba8fca;
/* rgb */ color: rgb(186, 143, 202);
/* oklch */ color: oklch(71.1% 0.096 316.7);
Tailwind
colors: {
  custom: {
    50: '#cfb0da',
    500: '#ba8fca',
    950: '#000000',
  },
}
SCSS
$custom: #ba8fca;
$custom-light: #cfb0da;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8fca",
  "rgb": {
    "r": 186,
    "g": 143,
    "b": 202
  },
  "hsl": {
    "h": 283.729,
    "s": 35.758,
    "l": 67.647
  },
  "oklch": {
    "l": 0.71088,
    "c": 0.09624,
    "h": 316.7
  },
  "luminance": 0.34348
}

Semantic roles & 50–950 ramp

primary
#BA8FCA
secondary
#D6E4D1
accent
#AF3757
background
#FCFAFD
surface
#F9F4FA
border
#D2CED3
text
#141014
muted
#827F83

Preview Lab

Preview with #BA8FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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