#BA7EBF#BA7EBF

#BA7EBF is a light, moderate purple. Relative luminance 0.291; OKLCH L 67.6% C 0.115 H 324.1°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#BA7EBF
RGBrgb(186, 126, 191)
HSLhsl(295, 34%, 62%)
HSVhsv(295, 34%, 75%)
CMYKcmyk(2.6%, 34%, 0%, 25.1%)
CIE-LABlab(60.89, 34.03, -24.70)
CIE-LCHlch(60.89, 42.05, 324.02°)
OKLaboklab(67.64% 0.0928 -0.0672)
OKLCHoklch(67.64% 0.115 324.1)
XYZxyz(37.1135, 29.1237, 52.9465)
Luminance0.2912 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7EBF #83BF7E
analogous
#9A7EBF #BA7EBF #BF7EA3
triadic
#BA7EBF #BFBA7E #7EBFBA
tetradic
#BA7EBF #BF9A7E #83BF7E #7EA3BF
square
#BA7EBF #BF9A7E #83BF7E #7EA3BF
split-complementary
#BA7EBF #A3BF7E #7EBF9A
monochromatic
#7D4182 #A455AB #BA7EBF #D0A7D3 #E6D0E8

Accessibility & contrast

On white

3.08
#BA7EBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#BA7EBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7EBF
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7EBF#FFFFFF#000000##000000
##BA7EBF1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#788EC1
Deuteranopia (green-blind)
#8795BD
Tritanopia (blue-blind)
#BD8496
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ba7ebf;
/* rgb */ color: rgb(186, 126, 191);
/* oklch */ color: oklch(67.6% 0.115 324.1);
Tailwind
colors: {
  custom: {
    50: '#d0a4d2',
    500: '#ba7ebf',
    950: '#000000',
  },
}
SCSS
$custom: #ba7ebf;
$custom-light: #d0a4d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7ebf",
  "rgb": {
    "r": 186,
    "g": 126,
    "b": 191
  },
  "hsl": {
    "h": 295.385,
    "s": 33.679,
    "l": 62.157
  },
  "oklch": {
    "l": 0.67644,
    "c": 0.11462,
    "h": 324.1
  },
  "luminance": 0.29122
}

Semantic roles & 50–950 ramp

primary
#BA7EBF
secondary
#C2D8C0
accent
#AC3942
background
#FCFAFC
surface
#F9F4F9
border
#D2CED2
text
#140F14
muted
#827F82

Preview Lab

Preview with #BA7EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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