#BA6FDC#BA6FDC

#BA6FDC is a light, vivid purple. Relative luminance 0.270; OKLCH L 66.6% C 0.172 H 314.4°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#BA6FDC
RGBrgb(186, 111, 220)
HSLhsl(281, 61%, 65%)
HSVhsv(281, 50%, 86%)
CMYKcmyk(15.5%, 49.5%, 0%, 13.7%)
CIE-LABlab(58.95, 48.00, -44.09)
CIE-LCHlch(58.95, 65.17, 317.43°)
OKLaboklab(66.61% 0.1201 -0.1227)
OKLCHoklch(66.61% 0.172 314.4)
XYZxyz(38.8503, 26.9763, 70.8567)
Luminance0.2697 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6FDC #91DC6F
analogous
#836FDC #BA6FDC #DC6FC8
triadic
#BA6FDC #DCBA6F #6FDCBA
tetradic
#BA6FDC #DC836F #91DC6F #6FC8DC
square
#BA6FDC #DC836F #91DC6F #6FC8DC
split-complementary
#BA6FDC #C8DC6F #6FDC83
monochromatic
#8029A8 #A23ED0 #BA6FDC #D2A0E8 #E9D1F4

Accessibility & contrast

On white

3.28
#BA6FDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#BA6FDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6FDC
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6FDC#FFFFFF#000000##000000
##BA6FDC1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#578AE0
Deuteranopia (green-blind)
#6D90D9
Tritanopia (blue-blind)
#B7809B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ba6fdc;
/* rgb */ color: rgb(186, 111, 220);
/* oklch */ color: oklch(66.6% 0.172 314.4);
Tailwind
colors: {
  custom: {
    50: '#d19ae7',
    500: '#ba6fdc',
    950: '#000000',
  },
}
SCSS
$custom: #ba6fdc;
$custom-light: #d19ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6fdc",
  "rgb": {
    "r": 186,
    "g": 111,
    "b": 220
  },
  "hsl": {
    "h": 281.284,
    "s": 60.894,
    "l": 64.902
  },
  "oklch": {
    "l": 0.66607,
    "c": 0.17167,
    "h": 314.4
  },
  "luminance": 0.26975
}

Semantic roles & 50–950 ramp

primary
#BA6FDC
secondary
#CCE6C1
accent
#C91D52
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BA6FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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