#BA89CD#BA89CD

#BA89CD is a light, moderate purple. Relative luminance 0.327; OKLCH L 70.1% C 0.110 H 316.3°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#BA89CD
RGBrgb(186, 137, 205)
HSLhsl(283, 40%, 67%)
HSVhsv(283, 33%, 80%)
CMYKcmyk(9.3%, 33.2%, 0%, 19.6%)
CIE-LABlab(63.95, 30.75, -27.88)
CIE-LCHlch(63.95, 41.51, 317.80°)
OKLaboklab(70.14% 0.0798 -0.0763)
OKLCHoklch(70.14% 0.11 316.3)
XYZxyz(40.2132, 32.7391, 61.9467)
Luminance0.3274 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA89CD #9CCD89
analogous
#9889CD #BA89CD #CD89BE
triadic
#BA89CD #CDBA89 #89CDBA
tetradic
#BA89CD #CD9889 #9CCD89 #89BECD
square
#BA89CD #CD9889 #9CCD89 #89BECD
split-complementary
#BA89CD #BECD89 #89CD98
monochromatic
#81419A #A15EBB #BA89CD #D3B4DF #ECDFF1

Accessibility & contrast

On white

2.78
#BA89CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#BA89CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA89CD
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA89CD#FFFFFF#000000##000000
##BA89CD1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F98D0
Deuteranopia (green-blind)
#8B9CCB
Tritanopia (blue-blind)
#BA91A2
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ba89cd;
/* rgb */ color: rgb(186, 137, 205);
/* oklch */ color: oklch(70.1% 0.110 316.3);
Tailwind
colors: {
  custom: {
    50: '#cfacdc',
    500: '#ba89cd',
    950: '#000000',
  },
}
SCSS
$custom: #ba89cd;
$custom-light: #cfacdc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba89cd",
  "rgb": {
    "r": 186,
    "g": 137,
    "b": 205
  },
  "hsl": {
    "h": 283.235,
    "s": 40.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70144,
    "c": 0.11044,
    "h": 316.3
  },
  "luminance": 0.32738
}

Semantic roles & 50–950 ramp

primary
#BA89CD
secondary
#D4E4CE
accent
#B43256
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#141015
muted
#827F83

Preview Lab

Preview with #BA89CD

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

Preview Lab → · Contrast checker → · Palette generator →

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