#BA7FCD#BA7FCD

#BA7FCD is a light, vivid purple. Relative luminance 0.300; OKLCH L 68.4% C 0.128 H 317.7°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#BA7FCD
RGBrgb(186, 127, 205)
HSLhsl(285, 44%, 65%)
HSVhsv(285, 38%, 80%)
CMYKcmyk(9.3%, 38%, 0%, 19.6%)
CIE-LABlab(61.68, 36.28, -31.39)
CIE-LCHlch(61.68, 47.97, 319.13°)
OKLaboklab(68.42% 0.0947 -0.0863)
OKLCHoklch(68.42% 0.128 317.7)
XYZxyz(38.8570, 30.0267, 61.4946)
Luminance0.3003 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA7FCD #92CD7F
analogous
#937FCD #BA7FCD #CD7FB9
triadic
#BA7FCD #CDBA7F #7FCDBA
tetradic
#BA7FCD #CD937F #92CD7F #7FB9CD
square
#BA7FCD #CD937F #92CD7F #7FB9CD
split-complementary
#BA7FCD #B9CD7F #7FCD93
monochromatic
#803B97 #A253BC #BA7FCD #D2ABDE #E9D7EF

Accessibility & contrast

On white

3.00
#BA7FCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#BA7FCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA7FCD
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA7FCD#FFFFFF#000000##000000
##BA7FCD1.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7491D0
Deuteranopia (green-blind)
#8297CB
Tritanopia (blue-blind)
#BA899C
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #ba7fcd;
/* rgb */ color: rgb(186, 127, 205);
/* oklch */ color: oklch(68.4% 0.128 317.7);
Tailwind
colors: {
  custom: {
    50: '#d0a5dc',
    500: '#ba7fcd',
    950: '#000000',
  },
}
SCSS
$custom: #ba7fcd;
$custom-light: #d0a5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba7fcd",
  "rgb": {
    "r": 186,
    "g": 127,
    "b": 205
  },
  "hsl": {
    "h": 285.385,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.68423,
    "c": 0.12808,
    "h": 317.7
  },
  "luminance": 0.30026
}

Semantic roles & 50–950 ramp

primary
#BA7FCD
secondary
#CDE1C7
accent
#B72F50
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#140F15
muted
#827F83

Preview Lab

Preview with #BA7FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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