#BA63DF#BA63DF

#BA63DF is a light, vivid purple. Relative luminance 0.247; OKLCH L 65.1% C 0.194 H 314.7°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#BA63DF
RGBrgb(186, 99, 223)
HSLhsl(282, 66%, 63%)
HSVhsv(282, 56%, 87%)
CMYKcmyk(16.6%, 55.6%, 0%, 12.5%)
CIE-LABlab(56.77, 54.76, -49.22)
CIE-LCHlch(56.77, 73.63, 318.05°)
OKLaboklab(65.05% 0.1362 -0.1376)
OKLCHoklch(65.05% 0.194 314.7)
XYZxyz(38.0287, 24.6916, 72.5604)
Luminance0.2469 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA63DF #88DF63
analogous
#7C63DF #BA63DF #DF63C6
triadic
#BA63DF #DFBA63 #63DFBA
tetradic
#BA63DF #DF7C63 #88DF63 #63C6DF
square
#BA63DF #DF7C63 #88DF63 #63C6DF
split-complementary
#BA63DF #C6DF63 #63DF7C
monochromatic
#7E22A6 #A430D5 #BA63DF #D096E9 #E7C9F4

Accessibility & contrast

On white

3.54
#BA63DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#BA63DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA63DF
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA63DF#FFFFFF#000000##000000
##BA63DF1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4283E3
Deuteranopia (green-blind)
#618BDC
Tritanopia (blue-blind)
#B77898
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ba63df;
/* rgb */ color: rgb(186, 99, 223);
/* oklch */ color: oklch(65.1% 0.194 314.7);
Tailwind
colors: {
  custom: {
    50: '#d193e9',
    500: '#ba63df',
    950: '#000000',
  },
}
SCSS
$custom: #ba63df;
$custom-light: #d193e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba63df",
  "rgb": {
    "r": 186,
    "g": 99,
    "b": 223
  },
  "hsl": {
    "h": 282.097,
    "s": 65.957,
    "l": 63.137
  },
  "oklch": {
    "l": 0.65051,
    "c": 0.19363,
    "h": 314.7
  },
  "luminance": 0.2469
}

Semantic roles & 50–950 ramp

primary
#BA63DF
secondary
#C6E5B9
accent
#CE184E
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA63DF

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

Preview Lab → · Contrast checker → · Palette generator →

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