#BA63AF#BA63AF

#BA63AF is a light, vivid purple. Relative luminance 0.225; OKLCH L 62.6% C 0.147 H 332.0°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#BA63AF
RGBrgb(186, 99, 175)
HSLhsl(308, 39%, 56%)
HSVhsv(308, 47%, 73%)
CMYKcmyk(0%, 46.8%, 5.9%, 27.1%)
CIE-LABlab(54.51, 45.53, -25.36)
CIE-LCHlch(54.51, 52.11, 330.88°)
OKLaboklab(62.64% 0.1297 -0.0689)
OKLCHoklch(62.64% 0.147 332)
XYZxyz(32.4492, 22.4598, 43.1751)
Luminance0.2246 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA63AF #63BA6E
analogous
#9963BA #BA63AF #BA6383
triadic
#BA63AF #AFBA63 #63AFBA
tetradic
#BA63AF #BA9963 #63BA6E #6383BA
square
#BA63AF #BA9963 #63BA6E #6383BA
split-complementary
#BA63AF #83BA63 #63BA99
monochromatic
#713269 #9B4590 #BA63AF #CD8DC5 #E0B8DB

Accessibility & contrast

On white

3.82
#BA63AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#BA63AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA63AF
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA63AF#FFFFFF#000000##000000
##BA63AF1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#617BB2
Deuteranopia (green-blind)
#7987AC
Tritanopia (blue-blind)
#C16981
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ba63af;
/* rgb */ color: rgb(186, 99, 175);
/* oklch */ color: oklch(62.6% 0.147 332.0);
Tailwind
colors: {
  custom: {
    50: '#d092c7',
    500: '#ba63af',
    950: '#000000',
  },
}
SCSS
$custom: #ba63af;
$custom-light: #d092c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba63af",
  "rgb": {
    "r": 186,
    "g": 99,
    "b": 175
  },
  "hsl": {
    "h": 307.586,
    "s": 38.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.62641,
    "c": 0.14688,
    "h": 332
  },
  "luminance": 0.22458
}

Semantic roles & 50–950 ramp

primary
#BA63AF
secondary
#AACEAF
accent
#CF6859
background
#FDF9FC
surface
#FAF1F8
border
#D3CBD1
text
#140D13
muted
#837E82

Preview Lab

Preview with #BA63AF

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

Preview Lab → · Contrast checker → · Palette generator →

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