#BA94DE#BA94DE

#BA94DE is a light, moderate violet. Relative luminance 0.369; OKLCH L 72.8% C 0.112 H 307.3°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#BA94DE
RGBrgb(186, 148, 222)
HSLhsl(271, 53%, 73%)
HSVhsv(271, 33%, 87%)
CMYKcmyk(16.2%, 33.3%, 0%, 12.9%)
CIE-LABlab(67.20, 28.25, -32.32)
CIE-LCHlch(67.20, 42.92, 311.16°)
OKLaboklab(72.84% 0.0679 -0.089)
OKLCHoklch(72.84% 0.112 307.3)
XYZxyz(44.0219, 36.8932, 73.8950)
Luminance0.3689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA94DE #B8DE94
analogous
#9594DE #BA94DE #DE94DD
triadic
#BA94DE #DEBA94 #94DEBA
tetradic
#BA94DE #DE9594 #B8DE94 #94DDDE
square
#BA94DE #DE9594 #B8DE94 #94DDDE
split-complementary
#BA94DE #DDDE94 #94DE95
monochromatic
#7E3ABD #9C65D0 #BA94DE #D8C3EC #F0E8F8

Accessibility & contrast

On white

2.51
#BA94DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#BA94DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA94DE
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA94DE#FFFFFF#000000##000000
##BA94DE1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A2E1
Deuteranopia (green-blind)
#8EA4DC
Tritanopia (blue-blind)
#B59FAF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ba94de;
/* rgb */ color: rgb(186, 148, 222);
/* oklch */ color: oklch(72.8% 0.112 307.3);
Tailwind
colors: {
  custom: {
    50: '#cfb3e8',
    500: '#ba94de',
    950: '#000000',
  },
}
SCSS
$custom: #ba94de;
$custom-light: #cfb3e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba94de",
  "rgb": {
    "r": 186,
    "g": 148,
    "b": 222
  },
  "hsl": {
    "h": 270.811,
    "s": 52.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.72838,
    "c": 0.11196,
    "h": 307.3
  },
  "luminance": 0.36893
}

Semantic roles & 50–950 ramp

primary
#BA94DE
secondary
#E5EFDC
accent
#C02571
background
#FCFBFE
surface
#F9F6FC
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BA94DE

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

Preview Lab → · Contrast checker → · Palette generator →

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