#BA8FCD#BA8FCD

#BA8FCD is a light, moderate purple. Relative luminance 0.345; OKLCH L 71.2% C 0.100 H 315.2°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#BA8FCD
RGBrgb(186, 143, 205)
HSLhsl(282, 38%, 68%)
HSVhsv(282, 30%, 80%)
CMYKcmyk(9.3%, 30.2%, 0%, 19.6%)
CIE-LABlab(65.35, 27.41, -25.72)
CIE-LCHlch(65.35, 37.59, 316.82°)
OKLaboklab(71.21% 0.0709 -0.0703)
OKLCHoklch(71.21% 0.1 315.2)
XYZxyz(41.0899, 34.4925, 62.2389)
Luminance0.3449 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8FCD #A2CD8F
analogous
#9B8FCD #BA8FCD #CD8FC1
triadic
#BA8FCD #CDBA8F #8FCDBA
tetradic
#BA8FCD #CD9B8F #A2CD8F #8FC1CD
square
#BA8FCD #CD9B8F #A2CD8F #8FC1CD
split-complementary
#BA8FCD #C1CD8F #8FCD9B
monochromatic
#82469C #A065BA #BA8FCD #D4B9E0 #EEE4F3

Accessibility & contrast

On white

2.66
#BA8FCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#BA8FCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA8FCD
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8FCD#FFFFFF#000000##000000
##BA8FCD1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#869CCF
Deuteranopia (green-blind)
#90A0CB
Tritanopia (blue-blind)
#B997A5
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ba8fcd;
/* rgb */ color: rgb(186, 143, 205);
/* oklch */ color: oklch(71.2% 0.100 315.2);
Tailwind
colors: {
  custom: {
    50: '#cfb0dc',
    500: '#ba8fcd',
    950: '#000000',
  },
}
SCSS
$custom: #ba8fcd;
$custom-light: #cfb0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8fcd",
  "rgb": {
    "r": 186,
    "g": 143,
    "b": 205
  },
  "hsl": {
    "h": 281.613,
    "s": 38.272,
    "l": 68.235
  },
  "oklch": {
    "l": 0.71212,
    "c": 0.09978,
    "h": 315.2
  },
  "luminance": 0.34492
}

Semantic roles & 50–950 ramp

primary
#BA8FCD
secondary
#D8E5D2
accent
#B1345B
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#141015
muted
#827F83

Preview Lab

Preview with #BA8FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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