#BA70DE#BA70DE

#BA70DE is a light, vivid purple. Relative luminance 0.273; OKLCH L 66.9% C 0.172 H 313.7°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#BA70DE
RGBrgb(186, 112, 222)
HSLhsl(280, 63%, 65%)
HSVhsv(280, 50%, 87%)
CMYKcmyk(16.2%, 49.5%, 0%, 12.9%)
CIE-LABlab(59.25, 47.90, -44.73)
CIE-LCHlch(59.25, 65.54, 316.95°)
OKLaboklab(66.86% 0.1189 -0.1246)
OKLCHoklch(66.86% 0.172 313.7)
XYZxyz(39.2265, 27.3023, 72.2966)
Luminance0.2730 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA70DE #94DE70
analogous
#8370DE #BA70DE #DE70CB
triadic
#BA70DE #DEBA70 #70DEBA
tetradic
#BA70DE #DE8370 #94DE70 #70CBDE
square
#BA70DE #DE8370 #94DE70 #70CBDE
split-complementary
#BA70DE #CBDE70 #70DE83
monochromatic
#8128AC #A23ED3 #BA70DE #D2A2E9 #EAD3F5

Accessibility & contrast

On white

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

On black

6.46
#BA70DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA70DE
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA70DE#FFFFFF#000000##000000
##BA70DE1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#578AE2
Deuteranopia (green-blind)
#6D91DB
Tritanopia (blue-blind)
#B7819D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ba70de;
/* rgb */ color: rgb(186, 112, 222);
/* oklch */ color: oklch(66.9% 0.172 313.7);
Tailwind
colors: {
  custom: {
    50: '#d19be9',
    500: '#ba70de',
    950: '#000000',
  },
}
SCSS
$custom: #ba70de;
$custom-light: #d19be9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba70de",
  "rgb": {
    "r": 186,
    "g": 112,
    "b": 222
  },
  "hsl": {
    "h": 280.364,
    "s": 62.5,
    "l": 65.49
  },
  "oklch": {
    "l": 0.66862,
    "c": 0.17225,
    "h": 313.7
  },
  "luminance": 0.27301
}

Semantic roles & 50–950 ramp

primary
#BA70DE
secondary
#CFE7C2
accent
#CA1B55
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BA70DE

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

Preview Lab → · Contrast checker → · Palette generator →

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