#BA8DCD#BA8DCD

#BA8DCD is a light, moderate purple. Relative luminance 0.339; OKLCH L 70.9% C 0.103 H 315.6°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#BA8DCD
RGBrgb(186, 141, 205)
HSLhsl(282, 39%, 68%)
HSVhsv(282, 31%, 80%)
CMYKcmyk(9.3%, 31.2%, 0%, 19.6%)
CIE-LABlab(64.88, 28.53, -26.44)
CIE-LCHlch(64.88, 38.90, 317.17°)
OKLaboklab(70.85% 0.0739 -0.0723)
OKLCHoklch(70.85% 0.103 315.6)
XYZxyz(40.7923, 33.8974, 62.1397)
Luminance0.3390 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8DCD #A0CD8D
analogous
#9A8DCD #BA8DCD #CD8DC0
triadic
#BA8DCD #CDBA8D #8DCDBA
tetradic
#BA8DCD #CD9A8D #A0CD8D #8DC0CD
square
#BA8DCD #CD9A8D #A0CD8D #8DC0CD
split-complementary
#BA8DCD #C0CD8D #8DCD9A
monochromatic
#82449B #A062BA #BA8DCD #D4B8E0 #EDE2F2

Accessibility & contrast

On white

2.70
#BA8DCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#BA8DCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA8DCD
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8DCD#FFFFFF#000000##000000
##BA8DCD1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#849BD0
Deuteranopia (green-blind)
#8E9FCB
Tritanopia (blue-blind)
#B995A4
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ba8dcd;
/* rgb */ color: rgb(186, 141, 205);
/* oklch */ color: oklch(70.9% 0.103 315.6);
Tailwind
colors: {
  custom: {
    50: '#cfafdc',
    500: '#ba8dcd',
    950: '#000000',
  },
}
SCSS
$custom: #ba8dcd;
$custom-light: #cfafdc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8dcd",
  "rgb": {
    "r": 186,
    "g": 141,
    "b": 205
  },
  "hsl": {
    "h": 282.188,
    "s": 39.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70853,
    "c": 0.10334,
    "h": 315.6
  },
  "luminance": 0.33897
}

Semantic roles & 50–950 ramp

primary
#BA8DCD
secondary
#D7E5D1
accent
#B23359
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#141015
muted
#827F83

Preview Lab

Preview with #BA8DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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