#BA6FFD#BA6FFD

#BA6FFD is a light, highly saturated violet. Relative luminance 0.289; OKLCH L 68.5% C 0.208 H 306.0°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#BA6FFD
RGBrgb(186, 111, 253)
HSLhsl(272, 97%, 71%)
HSVhsv(272, 56%, 99%)
CMYKcmyk(26.5%, 56.1%, 0%, 0.8%)
CIE-LABlab(60.69, 55.22, -59.67)
CIE-LCHlch(60.69, 81.30, 312.78°)
OKLaboklab(68.46% 0.1223 -0.1682)
OKLCHoklch(68.46% 0.208 306)
XYZxyz(43.6600, 28.9002, 96.1877)
Luminance0.2890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6FFD #B2FD6F
analogous
#736FFD #BA6FFD #FD6FF9
triadic
#BA6FFD #FDBA6F #6FFDBA
tetradic
#BA6FFD #FD736F #B2FD6F #6FF9FD
square
#BA6FFD #FD736F #B2FD6F #6FF9FD
split-complementary
#BA6FFD #F9FD6F #6FFD73
monochromatic
#7F03EE #9D33FC #BA6FFD #D7ABFE #F1E1FF

Accessibility & contrast

On white

3.10
#BA6FFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#BA6FFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6FFD
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6FFD#FFFFFF#000000##000000
##BA6FFD1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3990FF
Deuteranopia (green-blind)
#5693FA
Tritanopia (blue-blind)
#AF8AAC
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ba6ffd;
/* rgb */ color: rgb(186, 111, 253);
/* oklch */ color: oklch(68.5% 0.208 306.0);
Tailwind
colors: {
  custom: {
    50: '#d29bff',
    500: '#ba6ffd',
    950: '#000000',
  },
}
SCSS
$custom: #ba6ffd;
$custom-light: #d29bff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6ffd",
  "rgb": {
    "r": 186,
    "g": 111,
    "b": 253
  },
  "hsl": {
    "h": 271.69,
    "s": 97.26,
    "l": 71.373
  },
  "oklch": {
    "l": 0.68455,
    "c": 0.20796,
    "h": 306
  },
  "luminance": 0.289
}

Semantic roles & 50–950 ramp

primary
#BA6FFD
secondary
#E3F6D1
accent
#E6006C
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #BA6FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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