#BA4CE7#BA4CE7

#BA4CE7 is a light, highly saturated purple. Relative luminance 0.214; OKLCH L 62.7% C 0.233 H 314.4°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#BA4CE7
RGBrgb(186, 76, 231)
HSLhsl(283, 76%, 60%)
HSVhsv(283, 67%, 91%)
CMYKcmyk(19.5%, 67.1%, 0%, 9.4%)
CIE-LABlab(53.36, 66.95, -59.17)
CIE-LCHlch(53.36, 89.35, 318.53°)
OKLaboklab(62.72% 0.1632 -0.1666)
OKLCHoklch(62.72% 0.233 314.4)
XYZxyz(37.2555, 21.3787, 77.7498)
Luminance0.2138 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4CE7 #79E74C
analogous
#6D4CE7 #BA4CE7 #E74CC6
triadic
#BA4CE7 #E7BA4C #4CE7BA
tetradic
#BA4CE7 #E76D4C #79E74C #4CC6E7
square
#BA4CE7 #E76D4C #79E74C #4CC6E7
split-complementary
#BA4CE7 #C6E74C #4CE76D
monochromatic
#7A16A3 #A21DD9 #BA4CE7 #CF82EE #E4B8F5

Accessibility & contrast

On white

3.98
#BA4CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#BA4CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4CE7
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4CE7#FFFFFF#000000##000000
##BA4CE71.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EC
Deuteranopia (green-blind)
#4682E3
Tritanopia (blue-blind)
#B66B94
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ba4ce7;
/* rgb */ color: rgb(186, 76, 231);
/* oklch */ color: oklch(62.7% 0.233 314.4);
Tailwind
colors: {
  custom: {
    50: '#d386ef',
    500: '#ba4ce7',
    950: '#000000',
  },
}
SCSS
$custom: #ba4ce7;
$custom-light: #d386ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4ce7",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 231
  },
  "hsl": {
    "h": 282.581,
    "s": 76.355,
    "l": 60.196
  },
  "oklch": {
    "l": 0.62723,
    "c": 0.23322,
    "h": 314.4
  },
  "luminance": 0.21378
}

Semantic roles & 50–950 ramp

primary
#BA4CE7
secondary
#BBE5AA
accent
#D90D48
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #BA4CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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