#BA70FA#BA70FA

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

Color values

HEX#BA70FA
RGBrgb(186, 112, 250)
HSLhsl(272, 93%, 71%)
HSVhsv(272, 55%, 98%)
CMYKcmyk(25.6%, 55.2%, 0%, 2%)
CIE-LABlab(60.72, 54.03, -57.98)
CIE-LCHlch(60.72, 79.25, 312.98°)
OKLaboklab(68.42% 0.121 -0.1632)
OKLCHoklch(68.42% 0.203 306.5)
XYZxyz(43.2956, 28.9300, 93.7271)
Luminance0.2893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA70FA #B0FA70
analogous
#7570FA #BA70FA #FA70F5
triadic
#BA70FA #FABA70 #70FABA
tetradic
#BA70FA #FA7570 #B0FA70 #70F5FA
square
#BA70FA #FA7570 #B0FA70 #70F5FA
split-complementary
#BA70FA #F5FA70 #70FA75
monochromatic
#8008E8 #9D35F8 #BA70FA #D7ABFC #F1E1FE

Accessibility & contrast

On white

3.09
#BA70FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#BA70FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA70FA
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA70FA#FFFFFF#000000##000000
##BA70FA1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F90FF
Deuteranopia (green-blind)
#5A93F7
Tritanopia (blue-blind)
#B08AAB
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ba70fa;
/* rgb */ color: rgb(186, 112, 250);
/* oklch */ color: oklch(68.4% 0.203 306.5);
Tailwind
colors: {
  custom: {
    50: '#d29cfd',
    500: '#ba70fa',
    950: '#000000',
  },
}
SCSS
$custom: #ba70fa;
$custom-light: #d29cfd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba70fa",
  "rgb": {
    "r": 186,
    "g": 112,
    "b": 250
  },
  "hsl": {
    "h": 272.174,
    "s": 93.243,
    "l": 70.98
  },
  "oklch": {
    "l": 0.6842,
    "c": 0.20317,
    "h": 306.5
  },
  "luminance": 0.2893
}

Semantic roles & 50–950 ramp

primary
#BA70FA
secondary
#E2F5D1
accent
#E6006A
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #BA70FA

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

Preview Lab → · Contrast checker → · Palette generator →

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