#BA88DC#BA88DC

#BA88DC is a light, vivid violet. Relative luminance 0.332; OKLCH L 70.6% C 0.130 H 310.7°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#BA88DC
RGBrgb(186, 136, 220)
HSLhsl(276, 55%, 70%)
HSVhsv(276, 38%, 86%)
CMYKcmyk(15.5%, 38.2%, 0%, 13.7%)
CIE-LABlab(64.33, 34.48, -35.65)
CIE-LCHlch(64.33, 49.59, 314.04°)
OKLaboklab(70.64% 0.0848 -0.0985)
OKLCHoklch(70.64% 0.13 310.7)
XYZxyz(41.9698, 33.2153, 71.8965)
Luminance0.3322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA88DC #AADC88
analogous
#9088DC #BA88DC #DC88D4
triadic
#BA88DC #DCBA88 #88DCBA
tetradic
#BA88DC #DC9088 #AADC88 #88D4DC
square
#BA88DC #DC9088 #AADC88 #88D4DC
split-complementary
#BA88DC #D4DC88 #88DC90
monochromatic
#8135B5 #9F59CE #BA88DC #D5B7EA #F1E7F8

Accessibility & contrast

On white

2.75
#BA88DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#BA88DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BA88DC
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA88DC#FFFFFF#000000##000000
##BA88DC1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7899DF
Deuteranopia (green-blind)
#849DDA
Tritanopia (blue-blind)
#B694A8
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #ba88dc;
/* rgb */ color: rgb(186, 136, 220);
/* oklch */ color: oklch(70.6% 0.130 310.7);
Tailwind
colors: {
  custom: {
    50: '#d0abe7',
    500: '#ba88dc',
    950: '#000000',
  },
}
SCSS
$custom: #ba88dc;
$custom-light: #d0abe7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba88dc",
  "rgb": {
    "r": 186,
    "g": 136,
    "b": 220
  },
  "hsl": {
    "h": 275.714,
    "s": 54.545,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70638,
    "c": 0.12998,
    "h": 310.7
  },
  "luminance": 0.33215
}

Semantic roles & 50–950 ramp

primary
#BA88DC
secondary
#DEECD4
accent
#C22364
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #BA88DC

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

Preview Lab → · Contrast checker → · Palette generator →

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