#BA4ECD#BA4ECD

#BA4ECD is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.4% C 0.207 H 321.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#BA4ECD
RGBrgb(186, 78, 205)
HSLhsl(291, 56%, 55%)
HSVhsv(291, 62%, 80%)
CMYKcmyk(9.3%, 62%, 0%, 19.6%)
CIE-LABlab(52.17, 61.07, -46.32)
CIE-LCHlch(52.17, 76.64, 322.82°)
OKLaboklab(61.38% 0.1616 -0.129)
OKLCHoklch(61.38% 0.207 321.4)
XYZxyz(33.9923, 20.2973, 59.8730)
Luminance0.2030 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4ECD #61CD4E
analogous
#7B4ECD #BA4ECD #CD4EA0
triadic
#BA4ECD #CDBA4E #4ECDBA
tetradic
#BA4ECD #CD7B4E #61CD4E #4EA0CD
square
#BA4ECD #CD7B4E #61CD4E #4EA0CD
split-complementary
#BA4ECD #A0CD4E #4ECD7B
monochromatic
#70237D #9A31AD #BA4ECD #CD7EDA #DFADE8

Accessibility & contrast

On white

4.15
#BA4ECD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#BA4ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4ECD
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4ECD#FFFFFF#000000##000000
##BA4ECD1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3075D1
Deuteranopia (green-blind)
#5C81CA
Tritanopia (blue-blind)
#BC6287
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ba4ecd;
/* rgb */ color: rgb(186, 78, 205);
/* oklch */ color: oklch(61.4% 0.207 321.4);
Tailwind
colors: {
  custom: {
    50: '#d286dd',
    500: '#ba4ecd',
    950: '#000000',
  },
}
SCSS
$custom: #ba4ecd;
$custom-light: #d286dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4ecd",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 205
  },
  "hsl": {
    "h": 291.024,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61384,
    "c": 0.20674,
    "h": 321.4
  },
  "luminance": 0.20296
}

Semantic roles & 50–950 ramp

primary
#BA4ECD
secondary
#A9D6A1
accent
#DF495F
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA4ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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