#BA84DF#BA84DF

#BA84DF is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.1% C 0.140 H 310.5°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#BA84DF
RGBrgb(186, 132, 223)
HSLhsl(276, 59%, 70%)
HSVhsv(276, 41%, 87%)
CMYKcmyk(16.6%, 40.8%, 0%, 12.5%)
CIE-LABlab(63.57, 37.33, -38.52)
CIE-LCHlch(63.57, 53.64, 314.10°)
OKLaboklab(70.1% 0.0911 -0.1067)
OKLCHoklch(70.1% 0.14 310.5)
XYZxyz(41.8179, 32.2700, 73.8235)
Luminance0.3227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA84DF #A9DF84
analogous
#8C84DF #BA84DF #DF84D7
triadic
#BA84DF #DFBA84 #84DFBA
tetradic
#BA84DF #DF8C84 #A9DF84 #84D7DF
square
#BA84DF #DF8C84 #A9DF84 #84D7DF
split-complementary
#BA84DF #D7DF84 #84DF8C
monochromatic
#8130B9 #9F53D2 #BA84DF #D5B5EC #F0E5F8

Accessibility & contrast

On white

2.82
#BA84DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#BA84DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA84DF
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA84DF#FFFFFF#000000##000000
##BA84DF1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7197E2
Deuteranopia (green-blind)
#7F9BDC
Tritanopia (blue-blind)
#B691A7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ba84df;
/* rgb */ color: rgb(186, 132, 223);
/* oklch */ color: oklch(70.1% 0.140 310.5);
Tailwind
colors: {
  custom: {
    50: '#d0a8e9',
    500: '#ba84df',
    950: '#000000',
  },
}
SCSS
$custom: #ba84df;
$custom-light: #d0a8e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba84df",
  "rgb": {
    "r": 186,
    "g": 132,
    "b": 223
  },
  "hsl": {
    "h": 275.604,
    "s": 58.71,
    "l": 69.608
  },
  "oklch": {
    "l": 0.701,
    "c": 0.14034,
    "h": 310.5
  },
  "luminance": 0.32269
}

Semantic roles & 50–950 ramp

primary
#BA84DF
secondary
#DDECD2
accent
#C61F63
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #BA84DF

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

Preview Lab → · Contrast checker → · Palette generator →

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