#BA85BB#BA85BB

#BA85BB is a light, moderate purple. Relative luminance 0.308; OKLCH L 68.7% C 0.098 H 326.0°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#BA85BB
RGBrgb(186, 133, 187)
HSLhsl(299, 28%, 63%)
HSVhsv(299, 29%, 73%)
CMYKcmyk(0.5%, 28.9%, 0%, 26.7%)
CIE-LABlab(62.34, 29.39, -20.22)
CIE-LCHlch(62.34, 35.67, 325.47°)
OKLaboklab(68.7% 0.081 -0.0547)
OKLCHoklch(68.7% 0.098 326)
XYZxyz(37.6060, 30.8032, 50.9687)
Luminance0.3080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA85BB #86BB85
analogous
#9F85BB #BA85BB #BB85A1
triadic
#BA85BB #BBBA85 #85BBBA
tetradic
#BA85BB #BB9F85 #86BB85 #85A1BB
square
#BA85BB #BB9F85 #86BB85 #85A1BB
split-complementary
#BA85BB #A1BB85 #85BB9F
monochromatic
#7E477F #A45EA5 #BA85BB #D0ACD1 #E6D4E7

Accessibility & contrast

On white

2.93
#BA85BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#BA85BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA85BB
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA85BB#FFFFFF#000000##000000
##BA85BB1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8193BD
Deuteranopia (green-blind)
#8E99B9
Tritanopia (blue-blind)
#BD8A98
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ba85bb;
/* rgb */ color: rgb(186, 133, 187);
/* oklch */ color: oklch(68.7% 0.098 326.0);
Tailwind
colors: {
  custom: {
    50: '#cfa9cf',
    500: '#ba85bb',
    950: '#000000',
  },
}
SCSS
$custom: #ba85bb;
$custom-light: #cfa9cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba85bb",
  "rgb": {
    "r": 186,
    "g": 133,
    "b": 187
  },
  "hsl": {
    "h": 298.889,
    "s": 28.421,
    "l": 62.745
  },
  "oklch": {
    "l": 0.68696,
    "c": 0.09774,
    "h": 326
  },
  "luminance": 0.30802
}

Semantic roles & 50–950 ramp

primary
#BA85BB
secondary
#C4D8C4
accent
#A73E40
background
#FCFAFC
surface
#F9F4F9
border
#D2CED2
text
#141013
muted
#827F82

Preview Lab

Preview with #BA85BB

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

Preview Lab → · Contrast checker → · Palette generator →

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