#BA89CF#BA89CF

#BA89CF is a light, moderate purple. Relative luminance 0.328; OKLCH L 70.2% C 0.113 H 315.4°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#BA89CF
RGBrgb(186, 137, 207)
HSLhsl(282, 42%, 67%)
HSVhsv(282, 34%, 81%)
CMYKcmyk(10.1%, 33.8%, 0%, 18.8%)
CIE-LABlab(64.03, 31.16, -28.88)
CIE-LCHlch(64.03, 42.49, 317.18°)
OKLaboklab(70.23% 0.0803 -0.0792)
OKLCHoklch(70.23% 0.113 315.4)
XYZxyz(40.4561, 32.8362, 63.2262)
Luminance0.3283 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA89CF #9ECF89
analogous
#9789CF #BA89CF #CF89C1
triadic
#BA89CF #CFBA89 #89CFBA
tetradic
#BA89CF #CF9789 #9ECF89 #89C1CF
square
#BA89CF #CF9789 #9ECF89 #89C1CF
split-complementary
#BA89CF #C1CF89 #89CF97
monochromatic
#81409E #A15DBD #BA89CF #D3B5E1 #EDE0F2

Accessibility & contrast

On white

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

On black

7.57
#BA89CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA89CF
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA89CF#FFFFFF#000000##000000
##BA89CF1.002.787.577.57
#FFFFFF2.781.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E98D2
Deuteranopia (green-blind)
#8A9DCD
Tritanopia (blue-blind)
#B992A3
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #ba89cf;
/* rgb */ color: rgb(186, 137, 207);
/* oklch */ color: oklch(70.2% 0.113 315.4);
Tailwind
colors: {
  custom: {
    50: '#cfacde',
    500: '#ba89cf',
    950: '#000000',
  },
}
SCSS
$custom: #ba89cf;
$custom-light: #cfacde;
$custom-dark: #000000;
JSON
{
  "hex": "#ba89cf",
  "rgb": {
    "r": 186,
    "g": 137,
    "b": 207
  },
  "hsl": {
    "h": 282,
    "s": 42.169,
    "l": 67.451
  },
  "oklch": {
    "l": 0.7023,
    "c": 0.11278,
    "h": 315.4
  },
  "luminance": 0.32835
}

Semantic roles & 50–950 ramp

primary
#BA89CF
secondary
#D6E5CF
accent
#B53058
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#141015
muted
#827F83

Preview Lab

Preview with #BA89CF

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

Preview Lab → · Contrast checker → · Palette generator →

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