#BA77CD#BA77CD

#BA77CD is a light, vivid purple. Relative luminance 0.280; OKLCH L 67.1% C 0.142 H 318.5°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#BA77CD
RGBrgb(186, 119, 205)
HSLhsl(287, 46%, 64%)
HSVhsv(287, 42%, 80%)
CMYKcmyk(9.3%, 42%, 0%, 19.6%)
CIE-LABlab(59.93, 40.64, -34.11)
CIE-LCHlch(59.93, 53.06, 319.99°)
OKLaboklab(67.11% 0.1064 -0.094)
OKLCHoklch(67.11% 0.142 318.5)
XYZxyz(37.8645, 28.0417, 61.1638)
Luminance0.2804 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA77CD #8ACD77
analogous
#8F77CD #BA77CD #CD77B5
triadic
#BA77CD #CDBA77 #77CDBA
tetradic
#BA77CD #CD8F77 #8ACD77 #77B5CD
square
#BA77CD #CD8F77 #8ACD77 #77B5CD
split-complementary
#BA77CD #B5CD77 #77CD8F
monochromatic
#7F3693 #A34ABD #BA77CD #D1A4DD #E7D0EE

Accessibility & contrast

On white

3.18
#BA77CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#BA77CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA77CD
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA77CD#FFFFFF#000000##000000
##BA77CD1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8CD0
Deuteranopia (green-blind)
#7C93CA
Tritanopia (blue-blind)
#BA8298
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #ba77cd;
/* rgb */ color: rgb(186, 119, 205);
/* oklch */ color: oklch(67.1% 0.142 318.5);
Tailwind
colors: {
  custom: {
    50: '#d0a0dc',
    500: '#ba77cd',
    950: '#000000',
  },
}
SCSS
$custom: #ba77cd;
$custom-light: #d0a0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba77cd",
  "rgb": {
    "r": 186,
    "g": 119,
    "b": 205
  },
  "hsl": {
    "h": 286.744,
    "s": 46.237,
    "l": 63.529
  },
  "oklch": {
    "l": 0.67107,
    "c": 0.14198,
    "h": 318.5
  },
  "luminance": 0.28041
}

Semantic roles & 50–950 ramp

primary
#BA77CD
secondary
#C7DFC1
accent
#B92C4B
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140F15
muted
#827E83

Preview Lab

Preview with #BA77CD

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

Preview Lab → · Contrast checker → · Palette generator →

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