#BA78BE#BA78BE

#BA78BE is a light, vivid purple. Relative luminance 0.276; OKLCH L 66.6% C 0.124 H 324.9°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#BA78BE
RGBrgb(186, 120, 190)
HSLhsl(297, 35%, 61%)
HSVhsv(297, 37%, 75%)
CMYKcmyk(2.1%, 36.8%, 0%, 25.5%)
CIE-LABlab(59.52, 37.12, -26.25)
CIE-LCHlch(59.52, 45.47, 324.74°)
OKLaboklab(66.59% 0.1017 -0.0716)
OKLCHoklch(66.59% 0.124 324.9)
XYZxyz(36.2595, 27.5911, 52.1208)
Luminance0.2759 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA78BE #7CBE78
analogous
#9778BE #BA78BE #BE789F
triadic
#BA78BE #BEBA78 #78BEBA
tetradic
#BA78BE #BE9778 #7CBE78 #789FBE
square
#BA78BE #BE9778 #7CBE78 #789FBE
split-complementary
#BA78BE #9FBE78 #78BE97
monochromatic
#7B3D7F #A351A8 #BA78BE #CFA1D2 #E4CBE6

Accessibility & contrast

On white

3.22
#BA78BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#BA78BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA78BE
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA78BE#FFFFFF#000000##000000
##BA78BE1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#728AC1
Deuteranopia (green-blind)
#8292BC
Tritanopia (blue-blind)
#BD7F92
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ba78be;
/* rgb */ color: rgb(186, 120, 190);
/* oklch */ color: oklch(66.6% 0.124 324.9);
Tailwind
colors: {
  custom: {
    50: '#d0a0d1',
    500: '#ba78be',
    950: '#000000',
  },
}
SCSS
$custom: #ba78be;
$custom-light: #d0a0d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba78be",
  "rgb": {
    "r": 186,
    "g": 120,
    "b": 190
  },
  "hsl": {
    "h": 296.571,
    "s": 35,
    "l": 60.784
  },
  "oklch": {
    "l": 0.66594,
    "c": 0.12435,
    "h": 324.9
  },
  "luminance": 0.2759
}

Semantic roles & 50–950 ramp

primary
#BA78BE
secondary
#BDD6BC
accent
#AE383E
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#140F14
muted
#827E82

Preview Lab

Preview with #BA78BE

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

Preview Lab → · Contrast checker → · Palette generator →

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