#BA92DB#BA92DB

#BA92DB is a light, moderate violet. Relative luminance 0.361; OKLCH L 72.3% C 0.112 H 308.9°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#BA92DB
RGBrgb(186, 146, 219)
HSLhsl(273, 50%, 72%)
HSVhsv(273, 33%, 86%)
CMYKcmyk(15.1%, 33.3%, 0%, 14.1%)
CIE-LABlab(66.61, 28.71, -31.57)
CIE-LCHlch(66.61, 42.67, 312.28°)
OKLaboklab(72.35% 0.0701 -0.0869)
OKLCHoklch(72.35% 0.112 308.9)
XYZxyz(43.3124, 36.1118, 71.6926)
Luminance0.3611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA92DB #B3DB92
analogous
#9692DB #BA92DB #DB92D8
triadic
#BA92DB #DBBA92 #92DBBA
tetradic
#BA92DB #DB9692 #B3DB92 #92D8DB
square
#BA92DB #DB9692 #B3DB92 #92D8DB
split-complementary
#BA92DB #D8DB92 #92DB96
monochromatic
#7F3CB6 #9D64CC #BA92DB #D7C0EA #F0E8F7

Accessibility & contrast

On white

2.55
#BA92DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#BA92DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA92DB
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA92DB#FFFFFF#000000##000000
##BA92DB1.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A0DE
Deuteranopia (green-blind)
#8DA3D9
Tritanopia (blue-blind)
#B69CAD
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ba92db;
/* rgb */ color: rgb(186, 146, 219);
/* oklch */ color: oklch(72.3% 0.112 308.9);
Tailwind
colors: {
  custom: {
    50: '#cfb2e6',
    500: '#ba92db',
    950: '#000000',
  },
}
SCSS
$custom: #ba92db;
$custom-light: #cfb2e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba92db",
  "rgb": {
    "r": 186,
    "g": 146,
    "b": 219
  },
  "hsl": {
    "h": 272.877,
    "s": 50.345,
    "l": 71.569
  },
  "oklch": {
    "l": 0.72348,
    "c": 0.11162,
    "h": 308.9
  },
  "luminance": 0.36111
}

Semantic roles & 50–950 ramp

primary
#BA92DB
secondary
#E4EEDB
accent
#BE286C
background
#FCFBFE
surface
#F9F6FC
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BA92DB

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

Preview Lab → · Contrast checker → · Palette generator →

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