#BA85CF#BA85CF

#BA85CF is a light, moderate purple. Relative luminance 0.317; OKLCH L 69.5% C 0.120 H 316.0°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#BA85CF
RGBrgb(186, 133, 207)
HSLhsl(283, 44%, 67%)
HSVhsv(283, 36%, 81%)
CMYKcmyk(10.1%, 35.7%, 0%, 18.8%)
CIE-LABlab(63.11, 33.38, -30.29)
CIE-LCHlch(63.11, 45.08, 317.77°)
OKLaboklab(69.53% 0.0863 -0.0832)
OKLCHoklch(69.53% 0.12 316)
XYZxyz(39.8980, 31.7201, 63.0402)
Luminance0.3172 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA85CF #9ACF85
analogous
#9585CF #BA85CF #CF85BF
triadic
#BA85CF #CFBA85 #85CFBA
tetradic
#BA85CF #CF9585 #9ACF85 #85BFCF
square
#BA85CF #CF9585 #9ACF85 #85BFCF
split-complementary
#BA85CF #BFCF85 #85CF95
monochromatic
#813D9C #A159BE #BA85CF #D3B1E0 #ECDDF2

Accessibility & contrast

On white

2.86
#BA85CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#BA85CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA85CF
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA85CF#FFFFFF#000000##000000
##BA85CF1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A95D2
Deuteranopia (green-blind)
#869ACD
Tritanopia (blue-blind)
#B98EA1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ba85cf;
/* rgb */ color: rgb(186, 133, 207);
/* oklch */ color: oklch(69.5% 0.120 316.0);
Tailwind
colors: {
  custom: {
    50: '#d0a9de',
    500: '#ba85cf',
    950: '#000000',
  },
}
SCSS
$custom: #ba85cf;
$custom-light: #d0a9de;
$custom-dark: #000000;
JSON
{
  "hex": "#ba85cf",
  "rgb": {
    "r": 186,
    "g": 133,
    "b": 207
  },
  "hsl": {
    "h": 282.973,
    "s": 43.529,
    "l": 66.667
  },
  "oklch": {
    "l": 0.69534,
    "c": 0.11983,
    "h": 316
  },
  "luminance": 0.31719
}

Semantic roles & 50–950 ramp

primary
#BA85CF
secondary
#D3E4CC
accent
#B72F55
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#141015
muted
#827F83

Preview Lab

Preview with #BA85CF

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

Preview Lab → · Contrast checker → · Palette generator →

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