#BA63DE#BA63DE

#BA63DE is a light, vivid purple. Relative luminance 0.246; OKLCH L 65.0% C 0.193 H 315.0°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#BA63DE
RGBrgb(186, 99, 222)
HSLhsl(282, 65%, 63%)
HSVhsv(282, 55%, 87%)
CMYKcmyk(16.2%, 55.4%, 0%, 12.9%)
CIE-LABlab(56.72, 54.55, -48.74)
CIE-LCHlch(56.72, 73.15, 318.22°)
OKLaboklab(65% 0.1362 -0.1362)
OKLCHoklch(65% 0.193 315)
XYZxyz(37.8943, 24.6379, 71.8525)
Luminance0.2464 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA63DE #87DE63
analogous
#7C63DE #BA63DE #DE63C4
triadic
#BA63DE #DEBA63 #63DEBA
tetradic
#BA63DE #DE7C63 #87DE63 #63C4DE
square
#BA63DE #DE7C63 #87DE63 #63C4DE
split-complementary
#BA63DE #C4DE63 #63DE7C
monochromatic
#7E23A4 #A430D3 #BA63DE #D096E9 #E7C8F3

Accessibility & contrast

On white

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

On black

5.93
#BA63DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA63DE
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA63DE#FFFFFF#000000##000000
##BA63DE1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4383E2
Deuteranopia (green-blind)
#628ADB
Tritanopia (blue-blind)
#B77797
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ba63de;
/* rgb */ color: rgb(186, 99, 222);
/* oklch */ color: oklch(65.0% 0.193 315.0);
Tailwind
colors: {
  custom: {
    50: '#d193e9',
    500: '#ba63de',
    950: '#000000',
  },
}
SCSS
$custom: #ba63de;
$custom-light: #d193e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba63de",
  "rgb": {
    "r": 186,
    "g": 99,
    "b": 222
  },
  "hsl": {
    "h": 282.439,
    "s": 65.079,
    "l": 62.941
  },
  "oklch": {
    "l": 0.64995,
    "c": 0.1926,
    "h": 315
  },
  "luminance": 0.24637
}

Semantic roles & 50–950 ramp

primary
#BA63DE
secondary
#C5E5B8
accent
#CD194D
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA63DE

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

Preview Lab → · Contrast checker → · Palette generator →

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