#BA5EC0#BA5EC0

#BA5EC0 is a light, vivid purple. Relative luminance 0.223; OKLCH L 62.7% C 0.171 H 325.0°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#BA5EC0
RGBrgb(186, 94, 192)
HSLhsl(296, 44%, 56%)
HSVhsv(296, 51%, 75%)
CMYKcmyk(3.1%, 51%, 0%, 24.7%)
CIE-LABlab(54.29, 51.13, -35.51)
CIE-LCHlch(54.29, 62.25, 325.22°)
OKLaboklab(62.72% 0.1399 -0.0978)
OKLCHoklch(62.72% 0.171 325)
XYZxyz(33.7660, 22.2520, 52.3754)
Luminance0.2225 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5EC0 #64C05E
analogous
#895EC0 #BA5EC0 #C05E95
triadic
#BA5EC0 #C0BA5E #5EC0BA
tetradic
#BA5EC0 #C0895E #64C05E #5E95C0
square
#BA5EC0 #C0895E #64C05E #5E95C0
split-complementary
#BA5EC0 #95C05E #5EC089
monochromatic
#712E76 #9C3FA2 #BA5EC0 #CD8AD1 #E0B6E2

Accessibility & contrast

On white

3.85
#BA5EC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#BA5EC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5EC0
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5EC0#FFFFFF#000000##000000
##BA5EC01.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#527BC3
Deuteranopia (green-blind)
#6E86BD
Tritanopia (blue-blind)
#BE6A86
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ba5ec0;
/* rgb */ color: rgb(186, 94, 192);
/* oklch */ color: oklch(62.7% 0.171 325.0);
Tailwind
colors: {
  custom: {
    50: '#d18fd3',
    500: '#ba5ec0',
    950: '#000000',
  },
}
SCSS
$custom: #ba5ec0;
$custom-light: #d18fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5ec0",
  "rgb": {
    "r": 186,
    "g": 94,
    "b": 192
  },
  "hsl": {
    "h": 296.327,
    "s": 43.75,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62724,
    "c": 0.17071,
    "h": 325
  },
  "luminance": 0.2225
}

Semantic roles & 50–950 ramp

primary
#BA5EC0
secondary
#ABD1A9
accent
#D3545C
background
#FDF9FD
surface
#FAF1FA
border
#D3CBD3
text
#140D14
muted
#837E83

Preview Lab

Preview with #BA5EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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