#BA63EE#BA63EE

#BA63EE is a light, highly saturated violet. Relative luminance 0.255; OKLCH L 65.9% C 0.209 H 310.8°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#BA63EE
RGBrgb(186, 99, 238)
HSLhsl(278, 80%, 66%)
HSVhsv(278, 58%, 93%)
CMYKcmyk(21.8%, 58.4%, 0%, 6.7%)
CIE-LABlab(57.59, 57.92, -56.31)
CIE-LCHlch(57.59, 80.78, 315.80°)
OKLaboklab(65.92% 0.1367 -0.1583)
OKLCHoklch(65.92% 0.209 310.8)
XYZxyz(40.1413, 25.5367, 83.6868)
Luminance0.2554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA63EE #97EE63
analogous
#7463EE #BA63EE #EE63DC
triadic
#BA63EE #EEBA63 #63EEBA
tetradic
#BA63EE #EE7463 #97EE63 #63DCEE
square
#BA63EE #EE7463 #97EE63 #63DCEE
split-complementary
#BA63EE #DCEE63 #63EE74
monochromatic
#8115C2 #A22CE8 #BA63EE #D29AF4 #EBD1FA

Accessibility & contrast

On white

3.44
#BA63EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#BA63EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA63EE
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA63EE#FFFFFF#000000##000000
##BA63EE1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3186F2
Deuteranopia (green-blind)
#568CEB
Tritanopia (blue-blind)
#B47D9F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba63ee;
/* rgb */ color: rgb(186, 99, 238);
/* oklch */ color: oklch(65.9% 0.209 310.8);
Tailwind
colors: {
  custom: {
    50: '#d293f4',
    500: '#ba63ee',
    950: '#000000',
  },
}
SCSS
$custom: #ba63ee;
$custom-light: #d293f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba63ee",
  "rgb": {
    "r": 186,
    "g": 99,
    "b": 238
  },
  "hsl": {
    "h": 277.554,
    "s": 80.347,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65916,
    "c": 0.20919,
    "h": 310.8
  },
  "luminance": 0.25536
}

Semantic roles & 50–950 ramp

primary
#BA63EE
secondary
#D1EDC0
accent
#DD0958
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA63EE

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

Preview Lab → · Contrast checker → · Palette generator →

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