#BA84ED#BA84ED

#BA84ED is a light, vivid violet. Relative luminance 0.331; OKLCH L 70.8% C 0.157 H 306.5°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#BA84ED
RGBrgb(186, 132, 237)
HSLhsl(271, 74%, 72%)
HSVhsv(271, 44%, 93%)
CMYKcmyk(21.5%, 44.3%, 0%, 7.1%)
CIE-LABlab(64.21, 40.44, -45.27)
CIE-LCHlch(64.21, 60.70, 311.77°)
OKLaboklab(70.79% 0.0935 -0.1263)
OKLCHoklch(70.79% 0.157 306.5)
XYZxyz(43.7840, 33.0564, 84.1783)
Luminance0.3306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA84ED #B7ED84
analogous
#8684ED #BA84ED #ED84EC
triadic
#BA84ED #EDBA84 #84EDBA
tetradic
#BA84ED #ED8684 #B7ED84 #84ECED
square
#BA84ED #ED8684 #B7ED84 #84ECED
split-complementary
#BA84ED #ECED84 #84ED86
monochromatic
#7E1FD7 #9C4FE5 #BA84ED #D8B9F5 #F0E4FB

Accessibility & contrast

On white

2.76
#BA84ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#BA84ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA84ED
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA84ED#FFFFFF#000000##000000
##BA84ED1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9AF1
Deuteranopia (green-blind)
#779CEA
Tritanopia (blue-blind)
#B295AD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ba84ed;
/* rgb */ color: rgb(186, 132, 237);
/* oklch */ color: oklch(70.8% 0.157 306.5);
Tailwind
colors: {
  custom: {
    50: '#d1a9f3',
    500: '#ba84ed',
    950: '#000000',
  },
}
SCSS
$custom: #ba84ed;
$custom-light: #d1a9f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba84ed",
  "rgb": {
    "r": 186,
    "g": 132,
    "b": 237
  },
  "hsl": {
    "h": 270.857,
    "s": 74.468,
    "l": 72.353
  },
  "oklch": {
    "l": 0.70792,
    "c": 0.15711,
    "h": 306.5
  },
  "luminance": 0.33056
}

Semantic roles & 50–950 ramp

primary
#BA84ED
secondary
#E5F3D8
accent
#D70F70
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #BA84ED

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

Preview Lab → · Contrast checker → · Palette generator →

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