#BA77CF#BA77CF

#BA77CF is a light, vivid purple. Relative luminance 0.281; OKLCH L 67.2% C 0.144 H 317.8°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#BA77CF
RGBrgb(186, 119, 207)
HSLhsl(286, 48%, 64%)
HSVhsv(286, 43%, 81%)
CMYKcmyk(10.1%, 42.5%, 0%, 18.8%)
CIE-LABlab(60.01, 41.04, -35.11)
CIE-LCHlch(60.01, 54.01, 319.46°)
OKLaboklab(67.2% 0.1068 -0.0968)
OKLCHoklch(67.2% 0.144 317.8)
XYZxyz(38.1074, 28.1389, 62.4433)
Luminance0.2814 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA77CF #8CCF77
analogous
#8E77CF #BA77CF #CF77B8
triadic
#BA77CF #CFBA77 #77CFBA
tetradic
#BA77CF #CF8E77 #8CCF77 #77B8CF
square
#BA77CF #CF8E77 #8CCF77 #77B8CF
split-complementary
#BA77CF #B8CF77 #77CF8E
monochromatic
#7F3596 #A34ABF #BA77CF #D1A4DF #E8D1EF

Accessibility & contrast

On white

3.17
#BA77CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#BA77CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA77CF
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA77CF#FFFFFF#000000##000000
##BA77CF1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#698CD2
Deuteranopia (green-blind)
#7B93CC
Tritanopia (blue-blind)
#BA8399
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ba77cf;
/* rgb */ color: rgb(186, 119, 207);
/* oklch */ color: oklch(67.2% 0.144 317.8);
Tailwind
colors: {
  custom: {
    50: '#d0a0de',
    500: '#ba77cf',
    950: '#000000',
  },
}
SCSS
$custom: #ba77cf;
$custom-light: #d0a0de;
$custom-dark: #000000;
JSON
{
  "hex": "#ba77cf",
  "rgb": {
    "r": 186,
    "g": 119,
    "b": 207
  },
  "hsl": {
    "h": 285.682,
    "s": 47.826,
    "l": 63.922
  },
  "oklch": {
    "l": 0.67201,
    "c": 0.14417,
    "h": 317.8
  },
  "luminance": 0.28138
}

Semantic roles & 50–950 ramp

primary
#BA77CF
secondary
#C9E0C1
accent
#BB2A4D
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140F15
muted
#827E83

Preview Lab

Preview with #BA77CF

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

Preview Lab → · Contrast checker → · Palette generator →

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