#BA88FC#BA88FC

#BA88FC is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.2% C 0.169 H 302.3°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#BA88FC
RGBrgb(186, 136, 252)
HSLhsl(266, 95%, 76%)
HSVhsv(266, 46%, 99%)
CMYKcmyk(26.2%, 46%, 0%, 1.2%)
CIE-LABlab(65.81, 41.70, -50.99)
CIE-LCHlch(65.81, 65.87, 309.28°)
OKLaboklab(72.23% 0.0902 -0.1429)
OKLCHoklch(72.23% 0.169 302.3)
XYZxyz(46.6206, 35.0757, 96.3908)
Luminance0.3508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA88FC #CAFC88
analogous
#8890FC #BA88FC #F488FC
triadic
#BA88FC #FCBA88 #88FCBA
tetradic
#BA88FC #FC8890 #CAFC88 #88FCF4
square
#BA88FC #FC8890 #CAFC88 #88FCF4
split-complementary
#BA88FC #FCF488 #90FC88
monochromatic
#7511F9 #974CFA #BA88FC #DDC4FE #EEE1FE

Accessibility & contrast

On white

2.62
#BA88FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#BA88FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA88FC
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA88FC#FFFFFF#000000##000000
##BA88FC1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#679FFF
Deuteranopia (green-blind)
#73A0F9
Tritanopia (blue-blind)
#AE9CB6
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ba88fc;
/* rgb */ color: rgb(186, 136, 252);
/* oklch */ color: oklch(72.2% 0.169 302.3);
Tailwind
colors: {
  custom: {
    50: '#d1abfe',
    500: '#ba88fc',
    950: '#000000',
  },
}
SCSS
$custom: #ba88fc;
$custom-light: #d1abfe;
$custom-dark: #000000;
JSON
{
  "hex": "#ba88fc",
  "rgb": {
    "r": 186,
    "g": 136,
    "b": 252
  },
  "hsl": {
    "h": 265.862,
    "s": 95.082,
    "l": 76.078
  },
  "oklch": {
    "l": 0.72228,
    "c": 0.16897,
    "h": 302.3
  },
  "luminance": 0.35076
}

Semantic roles & 50–950 ramp

primary
#BA88FC
secondary
#E8F6D5
accent
#E60083
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #BA88FC

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

Preview Lab → · Contrast checker → · Palette generator →

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