#BA7FC0#BA7FC0

#BA7FC0 is a light, moderate purple. Relative luminance 0.294; OKLCH L 67.9% C 0.114 H 323.5°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#BA7FC0
RGBrgb(186, 127, 192)
HSLhsl(294, 34%, 63%)
HSVhsv(294, 34%, 75%)
CMYKcmyk(3.1%, 33.9%, 0%, 24.7%)
CIE-LABlab(61.15, 33.67, -24.86)
CIE-LCHlch(61.15, 41.86, 323.56°)
OKLaboklab(67.86% 0.0916 -0.0677)
OKLCHoklch(67.86% 0.114 323.5)
XYZxyz(37.3525, 29.4249, 53.5709)
Luminance0.2942 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7FC0 #85C07F
analogous
#9A7FC0 #BA7FC0 #C07FA5
triadic
#BA7FC0 #C0BA7F #7FC0BA
tetradic
#BA7FC0 #C09A7F #85C07F #7FA5C0
square
#BA7FC0 #C09A7F #85C07F #7FA5C0
split-complementary
#BA7FC0 #A5C07F #7FC09A
monochromatic
#7E4184 #A456AC #BA7FC0 #D0A8D4 #E6D1E8

Accessibility & contrast

On white

3.05
#BA7FC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#BA7FC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA7FC0
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7FC0#FFFFFF#000000##000000
##BA7FC01.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#798FC2
Deuteranopia (green-blind)
#8796BE
Tritanopia (blue-blind)
#BD8697
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #ba7fc0;
/* rgb */ color: rgb(186, 127, 192);
/* oklch */ color: oklch(67.9% 0.114 323.5);
Tailwind
colors: {
  custom: {
    50: '#cfa5d3',
    500: '#ba7fc0',
    950: '#000000',
  },
}
SCSS
$custom: #ba7fc0;
$custom-light: #cfa5d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7fc0",
  "rgb": {
    "r": 186,
    "g": 127,
    "b": 192
  },
  "hsl": {
    "h": 294.462,
    "s": 34.031,
    "l": 62.549
  },
  "oklch": {
    "l": 0.67856,
    "c": 0.11388,
    "h": 323.5
  },
  "luminance": 0.29424
}

Semantic roles & 50–950 ramp

primary
#BA7FC0
secondary
#C4D9C2
accent
#AD3943
background
#FCFAFC
surface
#F9F4F9
border
#D2CED2
text
#140F14
muted
#827F82

Preview Lab

Preview with #BA7FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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