#BA85FF#BA85FF

#BA85FF is a light, vivid violet. Relative luminance 0.344; OKLCH L 71.9% C 0.177 H 302.2°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#BA85FF
RGBrgb(186, 133, 255)
HSLhsl(266, 100%, 76%)
HSVhsv(266, 48%, 100%)
CMYKcmyk(27.1%, 47.8%, 0%, 0%)
CIE-LABlab(65.31, 44.04, -53.43)
CIE-LCHlch(65.31, 69.24, 309.50°)
OKLaboklab(71.9% 0.0945 -0.15)
OKLCHoklch(71.9% 0.177 302.2)
XYZxyz(46.6832, 34.4341, 98.7754)
Luminance0.3443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA85FF #CAFF85
analogous
#858DFF #BA85FF #F785FF
triadic
#BA85FF #FFBA85 #85FFBA
tetradic
#BA85FF #FF858D #CAFF85 #85FFF7
square
#BA85FF #FF858D #CAFF85 #85FFF7
split-complementary
#BA85FF #FFF785 #8DFF85
monochromatic
#750BFF #9748FF #BA85FF #DDC2FF #EEE0FF

Accessibility & contrast

On white

2.66
#BA85FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#BA85FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA85FF
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA85FF#FFFFFF#000000##000000
##BA85FF1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#609EFF
Deuteranopia (green-blind)
#6D9EFC
Tritanopia (blue-blind)
#AD9BB6
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ba85ff;
/* rgb */ color: rgb(186, 133, 255);
/* oklch */ color: oklch(71.9% 0.177 302.2);
Tailwind
colors: {
  custom: {
    50: '#d1a9ff',
    500: '#ba85ff',
    950: '#000000',
  },
}
SCSS
$custom: #ba85ff;
$custom-light: #d1a9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba85ff",
  "rgb": {
    "r": 186,
    "g": 133,
    "b": 255
  },
  "hsl": {
    "h": 266.066,
    "s": 100,
    "l": 76.078
  },
  "oklch": {
    "l": 0.71902,
    "c": 0.17727,
    "h": 302.2
  },
  "luminance": 0.34434
}

Semantic roles & 50–950 ramp

primary
#BA85FF
secondary
#E8F7D4
accent
#E60082
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #BA85FF

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

Preview Lab → · Contrast checker → · Palette generator →

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