#BA94DB#BA94DB

#BA94DB is a light, moderate violet. Relative luminance 0.367; OKLCH L 72.7% C 0.108 H 308.4°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#BA94DB
RGBrgb(186, 148, 219)
HSLhsl(272, 50%, 72%)
HSVhsv(272, 32%, 86%)
CMYKcmyk(15.1%, 32.4%, 0%, 14.1%)
CIE-LABlab(67.08, 27.59, -30.84)
CIE-LCHlch(67.08, 41.38, 311.82°)
OKLaboklab(72.71% 0.0672 -0.0848)
OKLCHoklch(72.71% 0.108 308.4)
XYZxyz(43.6234, 36.7338, 71.7963)
Luminance0.3673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA94DB #B5DB94
analogous
#9794DB #BA94DB #DB94D8
triadic
#BA94DB #DBBA94 #94DBBA
tetradic
#BA94DB #DB9794 #B5DB94 #94D8DB
square
#BA94DB #DB9794 #B5DB94 #94D8DB
split-complementary
#BA94DB #D8DB94 #94DB97
monochromatic
#7F3EB7 #9C66CC #BA94DB #D8C2EA #F0E8F7

Accessibility & contrast

On white

2.52
#BA94DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#BA94DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA94DB
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA94DB#FFFFFF#000000##000000
##BA94DB1.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A2DE
Deuteranopia (green-blind)
#8FA4D9
Tritanopia (blue-blind)
#B69EAE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ba94db;
/* rgb */ color: rgb(186, 148, 219);
/* oklch */ color: oklch(72.7% 0.108 308.4);
Tailwind
colors: {
  custom: {
    50: '#cfb3e6',
    500: '#ba94db',
    950: '#000000',
  },
}
SCSS
$custom: #ba94db;
$custom-light: #cfb3e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba94db",
  "rgb": {
    "r": 186,
    "g": 148,
    "b": 219
  },
  "hsl": {
    "h": 272.113,
    "s": 49.65,
    "l": 71.961
  },
  "oklch": {
    "l": 0.72707,
    "c": 0.10818,
    "h": 308.4
  },
  "luminance": 0.36733
}

Semantic roles & 50–950 ramp

primary
#BA94DB
secondary
#E5EEDD
accent
#BD296E
background
#FCFBFE
surface
#F9F6FC
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BA94DB

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

Preview Lab → · Contrast checker → · Palette generator →

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