#BA91CD#BA91CD

#BA91CD is a light, moderate purple. Relative luminance 0.351; OKLCH L 71.6% C 0.096 H 314.8°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#BA91CD
RGBrgb(186, 145, 205)
HSLhsl(281, 38%, 69%)
HSVhsv(281, 29%, 80%)
CMYKcmyk(9.3%, 29.3%, 0%, 19.6%)
CIE-LABlab(65.83, 26.30, -24.99)
CIE-LCHlch(65.83, 36.28, 316.46°)
OKLaboklab(71.57% 0.0679 -0.0682)
OKLCHoklch(71.57% 0.096 314.8)
XYZxyz(41.3928, 35.0984, 62.3399)
Luminance0.3510 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA91CD #A4CD91
analogous
#9C91CD #BA91CD #CD91C2
triadic
#BA91CD #CDBA91 #91CDBA
tetradic
#BA91CD #CD9C91 #A4CD91 #91C2CD
square
#BA91CD #CD9C91 #A4CD91 #91C2CD
split-complementary
#BA91CD #C2CD91 #91CD9C
monochromatic
#81479C #A067BA #BA91CD #D4BBE0 #EFE5F3

Accessibility & contrast

On white

2.62
#BA91CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#BA91CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA91CD
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA91CD#FFFFFF#000000##000000
##BA91CD1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#889DCF
Deuteranopia (green-blind)
#91A1CB
Tritanopia (blue-blind)
#B998A6
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ba91cd;
/* rgb */ color: rgb(186, 145, 205);
/* oklch */ color: oklch(71.6% 0.096 314.8);
Tailwind
colors: {
  custom: {
    50: '#cfb1dc',
    500: '#ba91cd',
    950: '#000000',
  },
}
SCSS
$custom: #ba91cd;
$custom-light: #cfb1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba91cd",
  "rgb": {
    "r": 186,
    "g": 145,
    "b": 205
  },
  "hsl": {
    "h": 281,
    "s": 37.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.71573,
    "c": 0.09622,
    "h": 314.8
  },
  "luminance": 0.35098
}

Semantic roles & 50–950 ramp

primary
#BA91CD
secondary
#DAE6D4
accent
#B0355C
background
#FCFAFD
surface
#F9F5FB
border
#D2CFD4
text
#141015
muted
#827F83

Preview Lab

Preview with #BA91CD

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

Preview Lab → · Contrast checker → · Palette generator →

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