#BA8FFD#BA8FFD

#BA8FFD is a light, vivid violet. Relative luminance 0.372; OKLCH L 73.4% C 0.159 H 300.6°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#BA8FFD
RGBrgb(186, 143, 253)
HSLhsl(263, 96%, 78%)
HSVhsv(263, 43%, 99%)
CMYKcmyk(26.5%, 43.5%, 0%, 0.8%)
CIE-LABlab(67.41, 38.09, -49.01)
CIE-LCHlch(67.41, 62.07, 307.86°)
OKLaboklab(73.45% 0.081 -0.1371)
OKLCHoklch(73.45% 0.159 300.6)
XYZxyz(47.7978, 37.1757, 97.5669)
Luminance0.3718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8FFD #D2FD8F
analogous
#8F9BFD #BA8FFD #F18FFD
triadic
#BA8FFD #FDBA8F #8FFDBA
tetradic
#BA8FFD #FD8F9B #D2FD8F #8FFDF1
square
#BA8FFD #FD8F9B #D2FD8F #8FFDF1
split-complementary
#BA8FFD #FDF18F #9BFD8F
monochromatic
#7017FB #9553FC #BA8FFD #DFCBFE #ECE1FE

Accessibility & contrast

On white

2.49
#BA8FFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#BA8FFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA8FFD
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8FFD#FFFFFF#000000##000000
##BA8FFD1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A4FF
Deuteranopia (green-blind)
#79A4FA
Tritanopia (blue-blind)
#ADA2BA
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ba8ffd;
/* rgb */ color: rgb(186, 143, 253);
/* oklch */ color: oklch(73.4% 0.159 300.6);
Tailwind
colors: {
  custom: {
    50: '#d1b0fe',
    500: '#ba8ffd',
    950: '#000000',
  },
}
SCSS
$custom: #ba8ffd;
$custom-light: #d1b0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8ffd",
  "rgb": {
    "r": 186,
    "g": 143,
    "b": 253
  },
  "hsl": {
    "h": 263.455,
    "s": 96.491,
    "l": 77.647
  },
  "oklch": {
    "l": 0.73445,
    "c": 0.15928,
    "h": 300.6
  },
  "luminance": 0.37176
}

Semantic roles & 50–950 ramp

primary
#BA8FFD
secondary
#E9F7D4
accent
#E6008C
background
#FDFAFF
surface
#FAF5FF
border
#D3CFD7
text
#141018
muted
#837F86

Preview Lab

Preview with #BA8FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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