#BA6EBF#BA6EBF

#BA6EBF is a light, vivid purple. Relative luminance 0.254; OKLCH L 65.0% C 0.143 H 324.8°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#BA6EBF
RGBrgb(186, 110, 191)
HSLhsl(296, 39%, 59%)
HSVhsv(296, 42%, 75%)
CMYKcmyk(2.6%, 42.4%, 0%, 25.1%)
CIE-LABlab(57.42, 42.70, -30.06)
CIE-LCHlch(57.42, 52.22, 324.85°)
OKLaboklab(65.03% 0.1168 -0.0823)
OKLCHoklch(65.03% 0.143 324.8)
XYZxyz(35.2287, 25.3541, 52.3183)
Luminance0.2535 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6EBF #73BF6E
analogous
#926EBF #BA6EBF #BF6E9C
triadic
#BA6EBF #BFBA6E #6EBFBA
tetradic
#BA6EBF #BF926E #73BF6E #6E9CBF
square
#BA6EBF #BF926E #73BF6E #6E9CBF
split-complementary
#BA6EBF #9CBF6E #6EBF92
monochromatic
#78377C #A149A6 #BA6EBF #CE98D2 #E2C3E4

Accessibility & contrast

On white

3.46
#BA6EBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#BA6EBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6EBF
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6EBF#FFFFFF#000000##000000
##BA6EBF1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6684C2
Deuteranopia (green-blind)
#7A8DBC
Tritanopia (blue-blind)
#BD778E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba6ebf;
/* rgb */ color: rgb(186, 110, 191);
/* oklch */ color: oklch(65.0% 0.143 324.8);
Tailwind
colors: {
  custom: {
    50: '#d099d2',
    500: '#ba6ebf',
    950: '#000000',
  },
}
SCSS
$custom: #ba6ebf;
$custom-light: #d099d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6ebf",
  "rgb": {
    "r": 186,
    "g": 110,
    "b": 191
  },
  "hsl": {
    "h": 296.296,
    "s": 38.756,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65031,
    "c": 0.14294,
    "h": 324.8
  },
  "luminance": 0.25353
}

Semantic roles & 50–950 ramp

primary
#BA6EBF
secondary
#B6D4B5
accent
#CF5960
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#140E14
muted
#827E82

Preview Lab

Preview with #BA6EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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