#BA70F9#BA70F9

#BA70F9 is a light, highly saturated violet. Relative luminance 0.289; OKLCH L 68.4% C 0.202 H 306.8°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#BA70F9
RGBrgb(186, 112, 249)
HSLhsl(272, 92%, 71%)
HSVhsv(272, 55%, 98%)
CMYKcmyk(25.3%, 55%, 0%, 2.4%)
CIE-LABlab(60.66, 53.80, -57.51)
CIE-LCHlch(60.66, 78.76, 313.09°)
OKLaboklab(68.36% 0.1209 -0.1619)
OKLCHoklch(68.36% 0.202 306.8)
XYZxyz(43.1392, 28.8674, 92.9035)
Luminance0.2887 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA70F9 #AFF970
analogous
#7570F9 #BA70F9 #F970F3
triadic
#BA70F9 #F9BA70 #70F9BA
tetradic
#BA70F9 #F97570 #AFF970 #70F3F9
square
#BA70F9 #F97570 #AFF970 #70F3F9
split-complementary
#BA70F9 #F3F970 #70F975
monochromatic
#800AE5 #9E35F7 #BA70F9 #D6ABFB #F1E2FE

Accessibility & contrast

On white

3.10
#BA70F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#BA70F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA70F9
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA70F9#FFFFFF#000000##000000
##BA70F91.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4090FE
Deuteranopia (green-blind)
#5B93F6
Tritanopia (blue-blind)
#B089AA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ba70f9;
/* rgb */ color: rgb(186, 112, 249);
/* oklch */ color: oklch(68.4% 0.202 306.8);
Tailwind
colors: {
  custom: {
    50: '#d29cfc',
    500: '#ba70f9',
    950: '#000000',
  },
}
SCSS
$custom: #ba70f9;
$custom-light: #d29cfc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba70f9",
  "rgb": {
    "r": 186,
    "g": 112,
    "b": 249
  },
  "hsl": {
    "h": 272.409,
    "s": 91.946,
    "l": 70.784
  },
  "oklch": {
    "l": 0.68362,
    "c": 0.20207,
    "h": 306.8
  },
  "luminance": 0.28867
}

Semantic roles & 50–950 ramp

primary
#BA70F9
secondary
#E1F5D0
accent
#E6006A
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA70F9

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

Preview Lab → · Contrast checker → · Palette generator →

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