#BA70F3#BA70F3

#BA70F3 is a light, vivid violet. Relative luminance 0.285; OKLCH L 68.0% C 0.195 H 308.1°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#BA70F3
RGBrgb(186, 112, 243)
HSLhsl(274, 85%, 70%)
HSVhsv(274, 54%, 95%)
CMYKcmyk(23.5%, 53.9%, 0%, 4.7%)
CIE-LABlab(60.34, 52.46, -54.72)
CIE-LCHlch(60.34, 75.80, 313.79°)
OKLaboklab(68.02% 0.1207 -0.1537)
OKLCHoklch(68.02% 0.195 308.1)
XYZxyz(42.2183, 28.4991, 88.0534)
Luminance0.2850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA70F3 #A9F370
analogous
#7970F3 #BA70F3 #F370EB
triadic
#BA70F3 #F3BA70 #70F3BA
tetradic
#BA70F3 #F37970 #A9F370 #70EBF3
square
#BA70F3 #F37970 #A9F370 #70EBF3
split-complementary
#BA70F3 #EBF370 #70F379
monochromatic
#8112D7 #9F38EE #BA70F3 #D5A8F8 #F0E1FC

Accessibility & contrast

On white

3.13
#BA70F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#BA70F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA70F3
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA70F3#FFFFFF#000000##000000
##BA70F31.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#468EF7
Deuteranopia (green-blind)
#5F92F0
Tritanopia (blue-blind)
#B288A7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ba70f3;
/* rgb */ color: rgb(186, 112, 243);
/* oklch */ color: oklch(68.0% 0.195 308.1);
Tailwind
colors: {
  custom: {
    50: '#d29cf8',
    500: '#ba70f3',
    950: '#000000',
  },
}
SCSS
$custom: #ba70f3;
$custom-light: #d29cf8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba70f3",
  "rgb": {
    "r": 186,
    "g": 112,
    "b": 243
  },
  "hsl": {
    "h": 273.893,
    "s": 84.516,
    "l": 69.608
  },
  "oklch": {
    "l": 0.68015,
    "c": 0.19541,
    "h": 308.1
  },
  "luminance": 0.28499
}

Semantic roles & 50–950 ramp

primary
#BA70F3
secondary
#DDF2CD
accent
#E10564
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA70F3

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

Preview Lab → · Contrast checker → · Palette generator →

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