#BA85FD#BA85FD

#BA85FD is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.8% C 0.175 H 302.6°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#BA85FD
RGBrgb(186, 133, 253)
HSLhsl(267, 97%, 76%)
HSVhsv(267, 47%, 99%)
CMYKcmyk(26.5%, 47.4%, 0%, 0.8%)
CIE-LABlab(65.20, 43.57, -52.49)
CIE-LCHlch(65.20, 68.22, 309.69°)
OKLaboklab(71.79% 0.0943 -0.1473)
OKLCHoklch(71.79% 0.175 302.6)
XYZxyz(46.3629, 34.3060, 97.0887)
Luminance0.3431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA85FD #C8FD85
analogous
#858CFD #BA85FD #F685FD
triadic
#BA85FD #FDBA85 #85FDBA
tetradic
#BA85FD #FD858C #C8FD85 #85FDF6
square
#BA85FD #FD858C #C8FD85 #85FDF6
split-complementary
#BA85FD #FDF685 #8CFD85
monochromatic
#760DFB #9849FC #BA85FD #DCC1FE #EEE1FF

Accessibility & contrast

On white

2.67
#BA85FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#BA85FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA85FD
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA85FD#FFFFFF#000000##000000
##BA85FD1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#619DFF
Deuteranopia (green-blind)
#6F9EFA
Tritanopia (blue-blind)
#AE9AB5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ba85fd;
/* rgb */ color: rgb(186, 133, 253);
/* oklch */ color: oklch(71.8% 0.175 302.6);
Tailwind
colors: {
  custom: {
    50: '#d1a9fe',
    500: '#ba85fd',
    950: '#000000',
  },
}
SCSS
$custom: #ba85fd;
$custom-light: #d1a9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ba85fd",
  "rgb": {
    "r": 186,
    "g": 133,
    "b": 253
  },
  "hsl": {
    "h": 266.5,
    "s": 96.774,
    "l": 75.686
  },
  "oklch": {
    "l": 0.71793,
    "c": 0.17484,
    "h": 302.6
  },
  "luminance": 0.34306
}

Semantic roles & 50–950 ramp

primary
#BA85FD
secondary
#E8F7D4
accent
#E60080
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #BA85FD

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

Preview Lab → · Contrast checker → · Palette generator →

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