#BA5ECE#BA5ECE

#BA5ECE is a light, vivid purple. Relative luminance 0.229; OKLCH L 63.4% C 0.184 H 320.2°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#BA5ECE
RGBrgb(186, 94, 206)
HSLhsl(289, 53%, 59%)
HSVhsv(289, 54%, 81%)
CMYKcmyk(9.7%, 54.4%, 0%, 19.2%)
CIE-LABlab(54.97, 53.80, -42.45)
CIE-LCHlch(54.97, 68.53, 321.72°)
OKLaboklab(63.44% 0.1415 -0.1179)
OKLCHoklch(63.44% 0.184 320.2)
XYZxyz(35.3916, 22.9022, 60.9369)
Luminance0.2290 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5ECE #72CE5E
analogous
#825ECE #BA5ECE #CE5EAA
triadic
#BA5ECE #CEBA5E #5ECEBA
tetradic
#BA5ECE #CE825E #72CE5E #5EAACE
square
#BA5ECE #CE825E #72CE5E #5EAACE
split-complementary
#BA5ECE #AACE5E #5ECE82
monochromatic
#772988 #A038B7 #BA5ECE #CE8DDC #E2BCEB

Accessibility & contrast

On white

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

On black

5.58
#BA5ECE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5ECE
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5ECE#FFFFFF#000000##000000
##BA5ECE1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#497DD2
Deuteranopia (green-blind)
#6787CB
Tritanopia (blue-blind)
#BB6E8D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ba5ece;
/* rgb */ color: rgb(186, 94, 206);
/* oklch */ color: oklch(63.4% 0.184 320.2);
Tailwind
colors: {
  custom: {
    50: '#d190dd',
    500: '#ba5ece',
    950: '#000000',
  },
}
SCSS
$custom: #ba5ece;
$custom-light: #d190dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5ece",
  "rgb": {
    "r": 186,
    "g": 94,
    "b": 206
  },
  "hsl": {
    "h": 289.286,
    "s": 53.333,
    "l": 58.824
  },
  "oklch": {
    "l": 0.63444,
    "c": 0.18418,
    "h": 320.2
  },
  "luminance": 0.22901
}

Semantic roles & 50–950 ramp

primary
#BA5ECE
secondary
#B6DAAE
accent
#DD4B65
background
#FDF9FD
surface
#FAF1FB
border
#D3CBD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #BA5ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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