#BA85CE#BA85CE

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

Color values

HEX#BA85CE
RGBrgb(186, 133, 206)
HSLhsl(284, 43%, 66%)
HSVhsv(284, 35%, 81%)
CMYKcmyk(9.7%, 35.4%, 0%, 19.2%)
CIE-LABlab(63.07, 33.17, -29.80)
CIE-LCHlch(63.07, 44.59, 318.07°)
OKLaboklab(69.49% 0.086 -0.0817)
OKLCHoklch(69.49% 0.119 316.5)
XYZxyz(39.7762, 31.6713, 62.3984)
Luminance0.3167 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA85CE #99CE85
analogous
#9685CE #BA85CE #CE85BE
triadic
#BA85CE #CEBA85 #85CEBA
tetradic
#BA85CE #CE9685 #99CE85 #85BECE
square
#BA85CE #CE9685 #99CE85 #85BECE
split-complementary
#BA85CE #BECE85 #85CE96
monochromatic
#813E9B #A159BC #BA85CE #D3B1E0 #EBDCF1

Accessibility & contrast

On white

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

On black

7.33
#BA85CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA85CE
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA85CE#FFFFFF#000000##000000
##BA85CE1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A95D1
Deuteranopia (green-blind)
#879ACC
Tritanopia (blue-blind)
#BA8EA0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #ba85ce;
/* rgb */ color: rgb(186, 133, 206);
/* oklch */ color: oklch(69.5% 0.119 316.5);
Tailwind
colors: {
  custom: {
    50: '#d0a9dd',
    500: '#ba85ce',
    950: '#000000',
  },
}
SCSS
$custom: #ba85ce;
$custom-light: #d0a9dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba85ce",
  "rgb": {
    "r": 186,
    "g": 133,
    "b": 206
  },
  "hsl": {
    "h": 283.562,
    "s": 42.69,
    "l": 66.471
  },
  "oklch": {
    "l": 0.6949,
    "c": 0.11868,
    "h": 316.5
  },
  "luminance": 0.3167
}

Semantic roles & 50–950 ramp

primary
#BA85CE
secondary
#D2E3CC
accent
#B63054
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#141015
muted
#827F83

Preview Lab

Preview with #BA85CE

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

Preview Lab → · Contrast checker → · Palette generator →

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