#BA85CD#BA85CD

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

Color values

HEX#BA85CD
RGBrgb(186, 133, 205)
HSLhsl(284, 42%, 66%)
HSVhsv(284, 35%, 80%)
CMYKcmyk(9.3%, 35.1%, 0%, 19.6%)
CIE-LABlab(63.03, 32.97, -29.30)
CIE-LCHlch(63.03, 44.11, 318.37°)
OKLaboklab(69.45% 0.0858 -0.0803)
OKLCHoklch(69.45% 0.118 316.9)
XYZxyz(39.6551, 31.6229, 61.7606)
Luminance0.3162 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA85CD #98CD85
analogous
#9685CD #BA85CD #CD85BC
triadic
#BA85CD #CDBA85 #85CDBA
tetradic
#BA85CD #CD9685 #98CD85 #85BCCD
square
#BA85CD #CD9685 #98CD85 #85BCCD
split-complementary
#BA85CD #BCCD85 #85CD96
monochromatic
#813F99 #A15ABB #BA85CD #D3B0DF #EBDCF1

Accessibility & contrast

On white

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

On black

7.32
#BA85CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA85CD
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA85CD#FFFFFF#000000##000000
##BA85CD1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B95D0
Deuteranopia (green-blind)
#879ACB
Tritanopia (blue-blind)
#BA8EA0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #ba85cd;
/* rgb */ color: rgb(186, 133, 205);
/* oklch */ color: oklch(69.4% 0.118 316.9);
Tailwind
colors: {
  custom: {
    50: '#cfa9dc',
    500: '#ba85cd',
    950: '#000000',
  },
}
SCSS
$custom: #ba85cd;
$custom-light: #cfa9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba85cd",
  "rgb": {
    "r": 186,
    "g": 133,
    "b": 205
  },
  "hsl": {
    "h": 284.167,
    "s": 41.86,
    "l": 66.275
  },
  "oklch": {
    "l": 0.69446,
    "c": 0.11752,
    "h": 316.9
  },
  "luminance": 0.31622
}

Semantic roles & 50–950 ramp

primary
#BA85CD
secondary
#D1E3CB
accent
#B53153
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#141015
muted
#827F83

Preview Lab

Preview with #BA85CD

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

Preview Lab → · Contrast checker → · Palette generator →

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