#BA85CC#BA85CC

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

Color values

HEX#BA85CC
RGBrgb(186, 133, 204)
HSLhsl(285, 41%, 66%)
HSVhsv(285, 35%, 80%)
CMYKcmyk(8.8%, 34.8%, 0%, 20%)
CIE-LABlab(62.99, 32.76, -28.80)
CIE-LCHlch(62.99, 43.62, 318.68°)
OKLaboklab(69.4% 0.0855 -0.0789)
OKLCHoklch(69.4% 0.116 317.3)
XYZxyz(39.5347, 31.5747, 61.1269)
Luminance0.3157 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA85CC #97CC85
analogous
#9685CC #BA85CC #CC85BA
triadic
#BA85CC #CCBA85 #85CCBA
tetradic
#BA85CC #CC9685 #97CC85 #85BACC
square
#BA85CC #CC9685 #97CC85 #85BACC
split-complementary
#BA85CC #BACC85 #85CC96
monochromatic
#813F97 #A25ABA #BA85CC #D2B0DE #EBDBF0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA85CC#FFFFFF#000000##000000
##BA85CC1.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)
#7B95CF
Deuteranopia (green-blind)
#889ACA
Tritanopia (blue-blind)
#BA8E9F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ba85cc;
/* rgb */ color: rgb(186, 133, 204);
/* oklch */ color: oklch(69.4% 0.116 317.3);
Tailwind
colors: {
  custom: {
    50: '#cfa9db',
    500: '#ba85cc',
    950: '#000000',
  },
}
SCSS
$custom: #ba85cc;
$custom-light: #cfa9db;
$custom-dark: #000000;
JSON
{
  "hex": "#ba85cc",
  "rgb": {
    "r": 186,
    "g": 133,
    "b": 204
  },
  "hsl": {
    "h": 284.789,
    "s": 41.04,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69402,
    "c": 0.11638,
    "h": 317.3
  },
  "luminance": 0.31574
}

Semantic roles & 50–950 ramp

primary
#BA85CC
secondary
#D1E2CB
accent
#B43153
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#141015
muted
#827F83

Preview Lab

Preview with #BA85CC

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

Preview Lab → · Contrast checker → · Palette generator →

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