#BA93DB#BA93DB

#BA93DB is a light, moderate violet. Relative luminance 0.364; OKLCH L 72.5% C 0.110 H 308.6°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#BA93DB
RGBrgb(186, 147, 219)
HSLhsl(273, 50%, 72%)
HSVhsv(273, 33%, 86%)
CMYKcmyk(15.1%, 32.9%, 0%, 14.1%)
CIE-LABlab(66.84, 28.15, -31.21)
CIE-LCHlch(66.84, 42.03, 312.05°)
OKLaboklab(72.53% 0.0686 -0.0859)
OKLCHoklch(72.53% 0.11 308.6)
XYZxyz(43.4672, 36.4214, 71.7442)
Luminance0.3642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA93DB #B4DB93
analogous
#9693DB #BA93DB #DB93D8
triadic
#BA93DB #DBBA93 #93DBBA
tetradic
#BA93DB #DB9693 #B4DB93 #93D8DB
square
#BA93DB #DB9693 #B4DB93 #93D8DB
split-complementary
#BA93DB #D8DB93 #93DB96
monochromatic
#7F3DB7 #9D65CC #BA93DB #D7C1EA #F0E8F7

Accessibility & contrast

On white

2.53
#BA93DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#BA93DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA93DB
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA93DB#FFFFFF#000000##000000
##BA93DB1.002.538.288.28
#FFFFFF2.531.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A1DE
Deuteranopia (green-blind)
#8EA3D9
Tritanopia (blue-blind)
#B69DAD
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ba93db;
/* rgb */ color: rgb(186, 147, 219);
/* oklch */ color: oklch(72.5% 0.110 308.6);
Tailwind
colors: {
  custom: {
    50: '#cfb3e6',
    500: '#ba93db',
    950: '#000000',
  },
}
SCSS
$custom: #ba93db;
$custom-light: #cfb3e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba93db",
  "rgb": {
    "r": 186,
    "g": 147,
    "b": 219
  },
  "hsl": {
    "h": 272.5,
    "s": 50,
    "l": 71.765
  },
  "oklch": {
    "l": 0.72527,
    "c": 0.10991,
    "h": 308.6
  },
  "luminance": 0.36421
}

Semantic roles & 50–950 ramp

primary
#BA93DB
secondary
#E4EEDC
accent
#BD286D
background
#FCFBFE
surface
#F9F6FC
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BA93DB

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

Preview Lab → · Contrast checker → · Palette generator →

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