#BA7BCD#BA7BCD

#BA7BCD is a light, vivid purple. Relative luminance 0.290; OKLCH L 67.8% C 0.135 H 318.1°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#BA7BCD
RGBrgb(186, 123, 205)
HSLhsl(286, 45%, 64%)
HSVhsv(286, 40%, 80%)
CMYKcmyk(9.3%, 40%, 0%, 19.6%)
CIE-LABlab(60.79, 38.46, -32.76)
CIE-LCHlch(60.79, 50.53, 319.57°)
OKLaboklab(67.76% 0.1006 -0.0901)
OKLCHoklch(67.76% 0.135 318.1)
XYZxyz(38.3506, 29.0139, 61.3258)
Luminance0.2901 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7BCD #8ECD7B
analogous
#917BCD #BA7BCD #CD7BB7
triadic
#BA7BCD #CDBA7B #7BCDBA
tetradic
#BA7BCD #CD917B #8ECD7B #7BB7CD
square
#BA7BCD #CD917B #8ECD7B #7BB7CD
split-complementary
#BA7BCD #B7CD7B #7BCD91
monochromatic
#803895 #A34FBC #BA7BCD #D1A7DE #E8D4EF

Accessibility & contrast

On white

3.09
#BA7BCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#BA7BCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7BCD
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7BCD#FFFFFF#000000##000000
##BA7BCD1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8ED0
Deuteranopia (green-blind)
#7F95CB
Tritanopia (blue-blind)
#BA859A
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ba7bcd;
/* rgb */ color: rgb(186, 123, 205);
/* oklch */ color: oklch(67.8% 0.135 318.1);
Tailwind
colors: {
  custom: {
    50: '#d0a2dc',
    500: '#ba7bcd',
    950: '#000000',
  },
}
SCSS
$custom: #ba7bcd;
$custom-light: #d0a2dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7bcd",
  "rgb": {
    "r": 186,
    "g": 123,
    "b": 205
  },
  "hsl": {
    "h": 286.098,
    "s": 45.055,
    "l": 64.314
  },
  "oklch": {
    "l": 0.67758,
    "c": 0.13507,
    "h": 318.1
  },
  "luminance": 0.29013
}

Semantic roles & 50–950 ramp

primary
#BA7BCD
secondary
#CAE0C4
accent
#B82D4D
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#140F15
muted
#827F83

Preview Lab

Preview with #BA7BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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