#BA70DA#BA70DA

#BA70DA is a light, vivid purple. Relative luminance 0.271; OKLCH L 66.7% C 0.168 H 314.9°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#BA70DA
RGBrgb(186, 112, 218)
HSLhsl(282, 59%, 65%)
HSVhsv(282, 49%, 85%)
CMYKcmyk(14.7%, 48.6%, 0%, 14.5%)
CIE-LABlab(59.06, 47.05, -42.80)
CIE-LCHlch(59.06, 63.61, 317.71°)
OKLaboklab(66.65% 0.1184 -0.119)
OKLCHoklch(66.65% 0.168 314.9)
XYZxyz(38.6968, 27.0905, 69.5066)
Luminance0.2709 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA70DA #90DA70
analogous
#8570DA #BA70DA #DA70C5
triadic
#BA70DA #DABA70 #70DABA
tetradic
#BA70DA #DA8570 #90DA70 #70C5DA
square
#BA70DA #DA8570 #90DA70 #70C5DA
split-complementary
#BA70DA #C5DA70 #70DA85
monochromatic
#802BA5 #A33FCD #BA70DA #D1A1E7 #E9D1F3

Accessibility & contrast

On white

3.27
#BA70DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#BA70DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA70DA
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA70DA#FFFFFF#000000##000000
##BA70DA1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8ADE
Deuteranopia (green-blind)
#6F90D7
Tritanopia (blue-blind)
#B8809B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ba70da;
/* rgb */ color: rgb(186, 112, 218);
/* oklch */ color: oklch(66.7% 0.168 314.9);
Tailwind
colors: {
  custom: {
    50: '#d19be6',
    500: '#ba70da',
    950: '#000000',
  },
}
SCSS
$custom: #ba70da;
$custom-light: #d19be6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba70da",
  "rgb": {
    "r": 186,
    "g": 112,
    "b": 218
  },
  "hsl": {
    "h": 281.887,
    "s": 58.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.66654,
    "c": 0.16789,
    "h": 314.9
  },
  "luminance": 0.27089
}

Semantic roles & 50–950 ramp

primary
#BA70DA
secondary
#CCE5C1
accent
#C71F52
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BA70DA

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

Preview Lab → · Contrast checker → · Palette generator →

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