#BA63ED#BA63ED

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

Color values

HEX#BA63ED
RGBrgb(186, 99, 237)
HSLhsl(278, 79%, 66%)
HSVhsv(278, 58%, 93%)
CMYKcmyk(21.5%, 58.2%, 0%, 7.1%)
CIE-LABlab(57.54, 57.70, -55.85)
CIE-LCHlch(57.54, 80.30, 315.94°)
OKLaboklab(65.86% 0.1367 -0.1569)
OKLCHoklch(65.86% 0.208 311.1)
XYZxyz(39.9948, 25.4781, 82.9152)
Luminance0.2548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA63ED #96ED63
analogous
#7563ED #BA63ED #ED63DB
triadic
#BA63ED #EDBA63 #63EDBA
tetradic
#BA63ED #ED7563 #96ED63 #63DBED
square
#BA63ED #ED7563 #96ED63 #63DBED
split-complementary
#BA63ED #DBED63 #63ED75
monochromatic
#8116C0 #A22CE7 #BA63ED #D29AF3 #EBD1FA

Accessibility & contrast

On white

3.45
#BA63ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#BA63ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA63ED
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA63ED#FFFFFF#000000##000000
##BA63ED1.003.456.106.10
#FFFFFF3.451.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3386F1
Deuteranopia (green-blind)
#578CEA
Tritanopia (blue-blind)
#B47C9F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba63ed;
/* rgb */ color: rgb(186, 99, 237);
/* oklch */ color: oklch(65.9% 0.208 311.1);
Tailwind
colors: {
  custom: {
    50: '#d293f3',
    500: '#ba63ed',
    950: '#000000',
  },
}
SCSS
$custom: #ba63ed;
$custom-light: #d293f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba63ed",
  "rgb": {
    "r": 186,
    "g": 99,
    "b": 237
  },
  "hsl": {
    "h": 277.826,
    "s": 79.31,
    "l": 65.882
  },
  "oklch": {
    "l": 0.65857,
    "c": 0.20814,
    "h": 311.1
  },
  "luminance": 0.25477
}

Semantic roles & 50–950 ramp

primary
#BA63ED
secondary
#D0EDBF
accent
#DC0A57
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA63ED

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

Preview Lab → · Contrast checker → · Palette generator →

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