#BA70F0#BA70F0

#BA70F0 is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.8% C 0.192 H 308.9°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#BA70F0
RGBrgb(186, 112, 240)
HSLhsl(275, 81%, 69%)
HSVhsv(275, 53%, 94%)
CMYKcmyk(22.5%, 53.3%, 0%, 5.9%)
CIE-LABlab(60.18, 51.79, -53.31)
CIE-LCHlch(60.18, 74.33, 314.17°)
OKLaboklab(67.84% 0.1205 -0.1496)
OKLCHoklch(67.84% 0.192 308.9)
XYZxyz(41.7690, 28.3193, 85.6870)
Luminance0.2832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA70F0 #A6F070
analogous
#7A70F0 #BA70F0 #F070E6
triadic
#BA70F0 #F0BA70 #70F0BA
tetradic
#BA70F0 #F07A70 #A6F070 #70E6F0
square
#BA70F0 #F07A70 #A6F070 #70E6F0
split-complementary
#BA70F0 #E6F070 #70F07A
monochromatic
#8116D0 #9F39EA #BA70F0 #D5A7F6 #EFDFFC

Accessibility & contrast

On white

3.15
#BA70F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#BA70F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA70F0
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA70F0#FFFFFF#000000##000000
##BA70F01.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#498EF4
Deuteranopia (green-blind)
#6292ED
Tritanopia (blue-blind)
#B387A6
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #ba70f0;
/* rgb */ color: rgb(186, 112, 240);
/* oklch */ color: oklch(67.8% 0.192 308.9);
Tailwind
colors: {
  custom: {
    50: '#d29bf5',
    500: '#ba70f0',
    950: '#000000',
  },
}
SCSS
$custom: #ba70f0;
$custom-light: #d29bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba70f0",
  "rgb": {
    "r": 186,
    "g": 112,
    "b": 240
  },
  "hsl": {
    "h": 274.688,
    "s": 81.013,
    "l": 69.02
  },
  "oklch": {
    "l": 0.67844,
    "c": 0.19209,
    "h": 308.9
  },
  "luminance": 0.28319
}

Semantic roles & 50–950 ramp

primary
#BA70F0
secondary
#DBF1CB
accent
#DD0862
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA70F0

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

Preview Lab → · Contrast checker → · Palette generator →

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