#BA4ECF#BA4ECF

#BA4ECF is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.5% C 0.209 H 320.8°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#BA4ECF
RGBrgb(186, 78, 207)
HSLhsl(290, 57%, 56%)
HSVhsv(290, 62%, 81%)
CMYKcmyk(10.1%, 62.3%, 0%, 18.8%)
CIE-LABlab(52.28, 61.44, -47.29)
CIE-LCHlch(52.28, 77.53, 322.42°)
OKLaboklab(61.5% 0.1616 -0.1318)
OKLCHoklch(61.5% 0.209 320.8)
XYZxyz(34.2353, 20.3945, 61.1526)
Luminance0.2039 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4ECF #63CF4E
analogous
#7A4ECF #BA4ECF #CF4EA3
triadic
#BA4ECF #CFBA4E #4ECFBA
tetradic
#BA4ECF #CF7A4E #63CF4E #4EA3CF
square
#BA4ECF #CF7A4E #63CF4E #4EA3CF
split-complementary
#BA4ECF #A3CF4E #4ECF7A
monochromatic
#712380 #9B30B0 #BA4ECF #CD7EDC #E0AEE9

Accessibility & contrast

On white

4.13
#BA4ECF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#BA4ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4ECF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4ECF#FFFFFF#000000##000000
##BA4ECF1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E75D3
Deuteranopia (green-blind)
#5B81CC
Tritanopia (blue-blind)
#BB6388
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ba4ecf;
/* rgb */ color: rgb(186, 78, 207);
/* oklch */ color: oklch(61.5% 0.209 320.8);
Tailwind
colors: {
  custom: {
    50: '#d286de',
    500: '#ba4ecf',
    950: '#000000',
  },
}
SCSS
$custom: #ba4ecf;
$custom-light: #d286de;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4ecf",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 207
  },
  "hsl": {
    "h": 290.233,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61498,
    "c": 0.20855,
    "h": 320.8
  },
  "luminance": 0.20393
}

Semantic roles & 50–950 ramp

primary
#BA4ECF
secondary
#AAD7A2
accent
#E14760
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA4ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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