#BA91DD#BA91DD

#BA91DD is a light, moderate violet. Relative luminance 0.359; OKLCH L 72.3% C 0.116 H 308.4°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#BA91DD
RGBrgb(186, 145, 221)
HSLhsl(272, 53%, 72%)
HSVhsv(272, 34%, 87%)
CMYKcmyk(15.8%, 34.4%, 0%, 13.3%)
CIE-LABlab(66.45, 29.70, -32.92)
CIE-LCHlch(66.45, 44.33, 312.06°)
OKLaboklab(72.26% 0.072 -0.0907)
OKLCHoklch(72.26% 0.116 308.4)
XYZxyz(43.4238, 35.9108, 73.0365)
Luminance0.3591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA91DD #B4DD91
analogous
#9491DD #BA91DD #DD91DA
triadic
#BA91DD #DDBA91 #91DDBA
tetradic
#BA91DD #DD9491 #B4DD91 #91DADD
square
#BA91DD #DD9491 #B4DD91 #91DADD
split-complementary
#BA91DD #DADD91 #91DD94
monochromatic
#7F3ABA #9D62CF #BA91DD #D7C0EB #F0E8F8

Accessibility & contrast

On white

2.57
#BA91DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#BA91DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA91DD
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA91DD#FFFFFF#000000##000000
##BA91DD1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A0E0
Deuteranopia (green-blind)
#8BA2DB
Tritanopia (blue-blind)
#B69CAD
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ba91dd;
/* rgb */ color: rgb(186, 145, 221);
/* oklch */ color: oklch(72.3% 0.116 308.4);
Tailwind
colors: {
  custom: {
    50: '#cfb1e8',
    500: '#ba91dd',
    950: '#000000',
  },
}
SCSS
$custom: #ba91dd;
$custom-light: #cfb1e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba91dd",
  "rgb": {
    "r": 186,
    "g": 145,
    "b": 221
  },
  "hsl": {
    "h": 272.368,
    "s": 52.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.72257,
    "c": 0.11582,
    "h": 308.4
  },
  "luminance": 0.3591
}

Semantic roles & 50–950 ramp

primary
#BA91DD
secondary
#E4EFDB
accent
#C0256D
background
#FCFAFE
surface
#F9F5FC
border
#D2CFD5
text
#141116
muted
#828084

Preview Lab

Preview with #BA91DD

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

Preview Lab → · Contrast checker → · Palette generator →

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