#BA6ECF#BA6ECF

#BA6ECF is a light, vivid purple. Relative luminance 0.261; OKLCH L 65.8% C 0.159 H 318.7°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#BA6ECF
RGBrgb(186, 110, 207)
HSLhsl(287, 50%, 62%)
HSVhsv(287, 47%, 81%)
CMYKcmyk(10.1%, 46.9%, 0%, 18.8%)
CIE-LABlab(58.13, 45.84, -38.05)
CIE-LCHlch(58.13, 59.58, 320.31°)
OKLaboklab(65.79% 0.1197 -0.1053)
OKLCHoklch(65.79% 0.159 318.7)
XYZxyz(37.0866, 26.0972, 62.1031)
Luminance0.2610 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6ECF #83CF6E
analogous
#896ECF #BA6ECF #CF6EB4
triadic
#BA6ECF #CFBA6E #6ECFBA
tetradic
#BA6ECF #CF896E #83CF6E #6EB4CF
square
#BA6ECF #CF896E #83CF6E #6EB4CF
split-complementary
#BA6ECF #B4CF6E #6ECF89
monochromatic
#7D3092 #A440C0 #BA6ECF #D09CDE #E6CAED

Accessibility & contrast

On white

3.38
#BA6ECF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#BA6ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6ECF
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6ECF#FFFFFF#000000##000000
##BA6ECF1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E87D2
Deuteranopia (green-blind)
#738ECC
Tritanopia (blue-blind)
#BA7B95
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ba6ecf;
/* rgb */ color: rgb(186, 110, 207);
/* oklch */ color: oklch(65.8% 0.159 318.7);
Tailwind
colors: {
  custom: {
    50: '#d09ade',
    500: '#ba6ecf',
    950: '#000000',
  },
}
SCSS
$custom: #ba6ecf;
$custom-light: #d09ade;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6ecf",
  "rgb": {
    "r": 186,
    "g": 110,
    "b": 207
  },
  "hsl": {
    "h": 287.01,
    "s": 50.259,
    "l": 62.157
  },
  "oklch": {
    "l": 0.65794,
    "c": 0.15939,
    "h": 318.7
  },
  "luminance": 0.26096
}

Semantic roles & 50–950 ramp

primary
#BA6ECF
secondary
#C2DEBB
accent
#BE2848
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140E15
muted
#837E83

Preview Lab

Preview with #BA6ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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