#BA85CB#BA85CB

#BA85CB is a light, moderate purple. Relative luminance 0.315; OKLCH L 69.4% C 0.115 H 317.7°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#BA85CB
RGBrgb(186, 133, 203)
HSLhsl(285, 40%, 66%)
HSVhsv(285, 34%, 80%)
CMYKcmyk(8.4%, 34.5%, 0%, 20.4%)
CIE-LABlab(62.95, 32.56, -28.30)
CIE-LCHlch(62.95, 43.14, 319.00°)
OKLaboklab(69.36% 0.0853 -0.0775)
OKLCHoklch(69.36% 0.115 317.7)
XYZxyz(39.4152, 31.5269, 60.4973)
Luminance0.3153 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA85CB #96CB85
analogous
#9785CB #BA85CB #CB85B9
triadic
#BA85CB #CBBA85 #85CBBA
tetradic
#BA85CB #CB9785 #96CB85 #85B9CB
square
#BA85CB #CB9785 #96CB85 #85B9CB
split-complementary
#BA85CB #B9CB85 #85CB97
monochromatic
#814096 #A25AB9 #BA85CB #D2B0DD #EBDBF0

Accessibility & contrast

On white

2.87
#BA85CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#BA85CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA85CB
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA85CB#FFFFFF#000000##000000
##BA85CB1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B95CE
Deuteranopia (green-blind)
#889AC9
Tritanopia (blue-blind)
#BA8D9F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ba85cb;
/* rgb */ color: rgb(186, 133, 203);
/* oklch */ color: oklch(69.4% 0.115 317.7);
Tailwind
colors: {
  custom: {
    50: '#cfa9db',
    500: '#ba85cb',
    950: '#000000',
  },
}
SCSS
$custom: #ba85cb;
$custom-light: #cfa9db;
$custom-dark: #000000;
JSON
{
  "hex": "#ba85cb",
  "rgb": {
    "r": 186,
    "g": 133,
    "b": 203
  },
  "hsl": {
    "h": 285.429,
    "s": 40.23,
    "l": 65.882
  },
  "oklch": {
    "l": 0.69359,
    "c": 0.11524,
    "h": 317.7
  },
  "luminance": 0.31526
}

Semantic roles & 50–950 ramp

primary
#BA85CB
secondary
#D0E1CA
accent
#B33252
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#141015
muted
#827F83

Preview Lab

Preview with #BA85CB

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

Preview Lab → · Contrast checker → · Palette generator →

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