#BA85DF#BA85DF

#BA85DF is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.3% C 0.139 H 310.3°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#BA85DF
RGBrgb(186, 133, 223)
HSLhsl(275, 58%, 70%)
HSVhsv(275, 40%, 87%)
CMYKcmyk(16.6%, 40.4%, 0%, 12.5%)
CIE-LABlab(63.79, 36.78, -38.17)
CIE-LCHlch(63.79, 53.01, 313.94°)
OKLaboklab(70.27% 0.0897 -0.1057)
OKLCHoklch(70.27% 0.139 310.3)
XYZxyz(41.9541, 32.5425, 73.8689)
Luminance0.3254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA85DF #AADF85
analogous
#8D85DF #BA85DF #DF85D7
triadic
#BA85DF #DFBA85 #85DFBA
tetradic
#BA85DF #DF8D85 #AADF85 #85D7DF
square
#BA85DF #DF8D85 #AADF85 #85D7DF
split-complementary
#BA85DF #D7DF85 #85DF8D
monochromatic
#8131B9 #9F55D2 #BA85DF #D5B5EC #F1E6F8

Accessibility & contrast

On white

2.80
#BA85DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#BA85DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA85DF
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA85DF#FFFFFF#000000##000000
##BA85DF1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7398E2
Deuteranopia (green-blind)
#7F9CDC
Tritanopia (blue-blind)
#B692A7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ba85df;
/* rgb */ color: rgb(186, 133, 223);
/* oklch */ color: oklch(70.3% 0.139 310.3);
Tailwind
colors: {
  custom: {
    50: '#d0a9e9',
    500: '#ba85df',
    950: '#000000',
  },
}
SCSS
$custom: #ba85df;
$custom-light: #d0a9e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba85df",
  "rgb": {
    "r": 186,
    "g": 133,
    "b": 223
  },
  "hsl": {
    "h": 275.333,
    "s": 58.442,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70269,
    "c": 0.13865,
    "h": 310.3
  },
  "luminance": 0.32542
}

Semantic roles & 50–950 ramp

primary
#BA85DF
secondary
#DEEDD3
accent
#C61F64
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #BA85DF

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

Preview Lab → · Contrast checker → · Palette generator →

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