#BA6FCA#BA6FCA

#BA6FCA is a light, vivid purple. Relative luminance 0.261; OKLCH L 65.7% C 0.152 H 320.4°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#BA6FCA
RGBrgb(186, 111, 202)
HSLhsl(289, 46%, 61%)
HSVhsv(289, 45%, 79%)
CMYKcmyk(7.9%, 45%, 0%, 20.8%)
CIE-LABlab(58.11, 44.31, -35.26)
CIE-LCHlch(58.11, 56.63, 321.50°)
OKLaboklab(65.7% 0.1175 -0.0972)
OKLCHoklch(65.7% 0.152 320.4)
XYZxyz(36.5935, 26.0736, 58.9708)
Luminance0.2607 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6FCA #7FCA6F
analogous
#8D6FCA #BA6FCA #CA6FAD
triadic
#BA6FCA #CABA6F #6FCABA
tetradic
#BA6FCA #CA8D6F #7FCA6F #6FADCA
square
#BA6FCA #CA8D6F #7FCA6F #6FADCA
split-complementary
#BA6FCA #ADCA6F #6FCA8D
monochromatic
#7C338B #A444B8 #BA6FCA #CF9CDA #E5C8EB

Accessibility & contrast

On white

3.38
#BA6FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#BA6FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6FCA
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6FCA#FFFFFF#000000##000000
##BA6FCA1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6286CD
Deuteranopia (green-blind)
#768EC7
Tritanopia (blue-blind)
#BB7B93
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ba6fca;
/* rgb */ color: rgb(186, 111, 202);
/* oklch */ color: oklch(65.7% 0.152 320.4);
Tailwind
colors: {
  custom: {
    50: '#d09ada',
    500: '#ba6fca',
    950: '#000000',
  },
}
SCSS
$custom: #ba6fca;
$custom-light: #d09ada;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6fca",
  "rgb": {
    "r": 186,
    "g": 111,
    "b": 202
  },
  "hsl": {
    "h": 289.451,
    "s": 46.193,
    "l": 61.373
  },
  "oklch": {
    "l": 0.65703,
    "c": 0.15246,
    "h": 320.4
  },
  "luminance": 0.26072
}

Semantic roles & 50–950 ramp

primary
#BA6FCA
secondary
#BFDBB9
accent
#B92C45
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140E15
muted
#837E83

Preview Lab

Preview with #BA6FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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