#BA85FA#BA85FA

#BA85FA is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.6% C 0.171 H 303.3°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#BA85FA
RGBrgb(186, 133, 250)
HSLhsl(267, 92%, 75%)
HSVhsv(267, 47%, 98%)
CMYKcmyk(25.6%, 46.8%, 0%, 2%)
CIE-LABlab(65.05, 42.87, -51.09)
CIE-LCHlch(65.05, 66.69, 310.00°)
OKLaboklab(71.63% 0.0939 -0.1432)
OKLCHoklch(71.63% 0.171 303.3)
XYZxyz(45.8888, 34.1164, 94.5915)
Luminance0.3412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA85FA #C5FA85
analogous
#858BFA #BA85FA #F485FA
triadic
#BA85FA #FABA85 #85FABA
tetradic
#BA85FA #FA858B #C5FA85 #85FAF4
square
#BA85FA #FA858B #C5FA85 #85FAF4
split-complementary
#BA85FA #FAF485 #8BFA85
monochromatic
#770FF5 #994AF8 #BA85FA #DBC0FC #EEE2FE

Accessibility & contrast

On white

2.68
#BA85FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#BA85FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA85FA
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA85FA#FFFFFF#000000##000000
##BA85FA1.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#639DFE
Deuteranopia (green-blind)
#719EF7
Tritanopia (blue-blind)
#AF9AB4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ba85fa;
/* rgb */ color: rgb(186, 133, 250);
/* oklch */ color: oklch(71.6% 0.171 303.3);
Tailwind
colors: {
  custom: {
    50: '#d1a9fc',
    500: '#ba85fa',
    950: '#000000',
  },
}
SCSS
$custom: #ba85fa;
$custom-light: #d1a9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba85fa",
  "rgb": {
    "r": 186,
    "g": 133,
    "b": 250
  },
  "hsl": {
    "h": 267.179,
    "s": 92.126,
    "l": 75.098
  },
  "oklch": {
    "l": 0.71633,
    "c": 0.17121,
    "h": 303.3
  },
  "luminance": 0.34116
}

Semantic roles & 50–950 ramp

primary
#BA85FA
secondary
#E7F6D5
accent
#E6007E
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BA85FA

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

Preview Lab → · Contrast checker → · Palette generator →

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