#BA5ECF#BA5ECF

#BA5ECF is a light, vivid purple. Relative luminance 0.230; OKLCH L 63.5% C 0.185 H 319.9°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#BA5ECF
RGBrgb(186, 94, 207)
HSLhsl(289, 54%, 59%)
HSVhsv(289, 55%, 81%)
CMYKcmyk(10.1%, 54.6%, 0%, 18.8%)
CIE-LABlab(55.02, 54.00, -42.94)
CIE-LCHlch(55.02, 68.99, 321.51°)
OKLaboklab(63.5% 0.1416 -0.1193)
OKLCHoklch(63.5% 0.185 319.9)
XYZxyz(35.5135, 22.9510, 61.5787)
Luminance0.2295 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5ECF #73CF5E
analogous
#825ECF #BA5ECF #CF5EAB
triadic
#BA5ECF #CFBA5E #5ECFBA
tetradic
#BA5ECF #CF825E #73CF5E #5EABCF
square
#BA5ECF #CF825E #73CF5E #5EABCF
split-complementary
#BA5ECF #ABCF5E #5ECF82
monochromatic
#78298A #A137B9 #BA5ECF #CE8DDD #E2BCEB

Accessibility & contrast

On white

3.76
#BA5ECF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#BA5ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5ECF
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5ECF#FFFFFF#000000##000000
##BA5ECF1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#487DD3
Deuteranopia (green-blind)
#6787CC
Tritanopia (blue-blind)
#BB6F8E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ba5ecf;
/* rgb */ color: rgb(186, 94, 207);
/* oklch */ color: oklch(63.5% 0.185 319.9);
Tailwind
colors: {
  custom: {
    50: '#d190de',
    500: '#ba5ecf',
    950: '#000000',
  },
}
SCSS
$custom: #ba5ecf;
$custom-light: #d190de;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5ecf",
  "rgb": {
    "r": 186,
    "g": 94,
    "b": 207
  },
  "hsl": {
    "h": 288.85,
    "s": 54.067,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63497,
    "c": 0.18516,
    "h": 319.9
  },
  "luminance": 0.2295
}

Semantic roles & 50–950 ramp

primary
#BA5ECF
secondary
#B6DBAE
accent
#DD4A66
background
#FDF9FD
surface
#FAF1FB
border
#D3CBD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #BA5ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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