#BA70DF#BA70DF

#BA70DF is a light, vivid purple. Relative luminance 0.274; OKLCH L 66.9% C 0.173 H 313.4°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#BA70DF
RGBrgb(186, 112, 223)
HSLhsl(280, 63%, 66%)
HSVhsv(280, 50%, 87%)
CMYKcmyk(16.6%, 49.8%, 0%, 12.5%)
CIE-LABlab(59.30, 48.11, -45.22)
CIE-LCHlch(59.30, 66.02, 316.77°)
OKLaboklab(66.92% 0.119 -0.126)
OKLCHoklch(66.92% 0.173 313.4)
XYZxyz(39.3609, 27.3561, 73.0045)
Luminance0.2736 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA70DF #95DF70
analogous
#8270DF #BA70DF #DF70CC
triadic
#BA70DF #DFBA70 #70DFBA
tetradic
#BA70DF #DF8270 #95DF70 #70CCDF
square
#BA70DF #DF8270 #95DF70 #70CCDF
split-complementary
#BA70DF #CCDF70 #70DF82
monochromatic
#8127AE #A23ED4 #BA70DF #D2A2EA #EAD4F5

Accessibility & contrast

On white

3.25
#BA70DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#BA70DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA70DF
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA70DF#FFFFFF#000000##000000
##BA70DF1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#568BE3
Deuteranopia (green-blind)
#6D91DC
Tritanopia (blue-blind)
#B7819D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ba70df;
/* rgb */ color: rgb(186, 112, 223);
/* oklch */ color: oklch(66.9% 0.173 313.4);
Tailwind
colors: {
  custom: {
    50: '#d19be9',
    500: '#ba70df',
    950: '#000000',
  },
}
SCSS
$custom: #ba70df;
$custom-light: #d19be9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba70df",
  "rgb": {
    "r": 186,
    "g": 112,
    "b": 223
  },
  "hsl": {
    "h": 280,
    "s": 63.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.66915,
    "c": 0.17334,
    "h": 313.4
  },
  "luminance": 0.27355
}

Semantic roles & 50–950 ramp

primary
#BA70DF
secondary
#CFE8C3
accent
#CB1A55
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BA70DF

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

Preview Lab → · Contrast checker → · Palette generator →

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