#BA70CA#BA70CA

#BA70CA is a light, vivid purple. Relative luminance 0.263; OKLCH L 65.9% C 0.151 H 320.3°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#BA70CA
RGBrgb(186, 112, 202)
HSLhsl(289, 46%, 62%)
HSVhsv(289, 45%, 79%)
CMYKcmyk(7.9%, 44.6%, 0%, 20.8%)
CIE-LABlab(58.31, 43.78, -34.93)
CIE-LCHlch(58.31, 56.01, 321.42°)
OKLaboklab(65.86% 0.116 -0.0963)
OKLCHoklch(65.86% 0.151 320.3)
XYZxyz(36.7032, 26.2930, 59.0073)
Luminance0.2629 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA70CA #80CA70
analogous
#8D70CA #BA70CA #CA70AD
triadic
#BA70CA #CABA70 #70CABA
tetradic
#BA70CA #CA8D70 #80CA70 #70ADCA
square
#BA70CA #CA8D70 #80CA70 #70ADCA
split-complementary
#BA70CA #ADCA70 #70CA8D
monochromatic
#7C348C #A444B8 #BA70CA #D09DDB #E5C9EB

Accessibility & contrast

On white

3.36
#BA70CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#BA70CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA70CA
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA70CA#FFFFFF#000000##000000
##BA70CA1.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6387CD
Deuteranopia (green-blind)
#778FC7
Tritanopia (blue-blind)
#BB7B93
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ba70ca;
/* rgb */ color: rgb(186, 112, 202);
/* oklch */ color: oklch(65.9% 0.151 320.3);
Tailwind
colors: {
  custom: {
    50: '#d09bda',
    500: '#ba70ca',
    950: '#000000',
  },
}
SCSS
$custom: #ba70ca;
$custom-light: #d09bda;
$custom-dark: #000000;
JSON
{
  "hex": "#ba70ca",
  "rgb": {
    "r": 186,
    "g": 112,
    "b": 202
  },
  "hsl": {
    "h": 289.333,
    "s": 45.918,
    "l": 61.569
  },
  "oklch": {
    "l": 0.65857,
    "c": 0.15077,
    "h": 320.3
  },
  "luminance": 0.26292
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA70CA

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

Preview Lab → · Contrast checker → · Palette generator →

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