#BA8FFE#BA8FFE

#BA8FFE is a light, vivid violet. Relative luminance 0.372; OKLCH L 73.5% C 0.161 H 300.4°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#BA8FFE
RGBrgb(186, 143, 254)
HSLhsl(263, 98%, 78%)
HSVhsv(263, 44%, 100%)
CMYKcmyk(26.8%, 43.7%, 0%, 0.4%)
CIE-LABlab(67.46, 38.33, -49.48)
CIE-LCHlch(67.46, 62.59, 307.76°)
OKLaboklab(73.5% 0.0812 -0.1385)
OKLCHoklch(73.5% 0.161 300.4)
XYZxyz(47.9575, 37.2396, 98.4081)
Luminance0.3724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA8FFE #D3FE8F
analogous
#8F9BFE #BA8FFE #F18FFE
triadic
#BA8FFE #FEBA8F #8FFEBA
tetradic
#BA8FFE #FE8F9B #D3FE8F #8FFEF1
square
#BA8FFE #FE8F9B #D3FE8F #8FFEF1
split-complementary
#BA8FFE #FEF18F #9BFE8F
monochromatic
#6F16FD #9552FD #BA8FFE #DFCCFF #ECE1FF

Accessibility & contrast

On white

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

On black

8.45
#BA8FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA8FFE
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA8FFE#FFFFFF#000000##000000
##BA8FFE1.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba8ffe;
/* rgb */ color: rgb(186, 143, 254);
/* oklch */ color: oklch(73.5% 0.161 300.4);
Tailwind
colors: {
  custom: {
    50: '#d1b0ff',
    500: '#ba8ffe',
    950: '#000000',
  },
}
SCSS
$custom: #ba8ffe;
$custom-light: #d1b0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba8ffe",
  "rgb": {
    "r": 186,
    "g": 143,
    "b": 254
  },
  "hsl": {
    "h": 263.243,
    "s": 98.23,
    "l": 77.843
  },
  "oklch": {
    "l": 0.73497,
    "c": 0.16053,
    "h": 300.4
  },
  "luminance": 0.3724
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA8FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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