#BA4FCF#BA4FCF

#BA4FCF is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.6% C 0.207 H 320.7°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#BA4FCF
RGBrgb(186, 79, 207)
HSLhsl(290, 57%, 56%)
HSVhsv(290, 62%, 81%)
CMYKcmyk(10.1%, 61.8%, 0%, 18.8%)
CIE-LABlab(52.44, 61.00, -47.03)
CIE-LCHlch(52.44, 77.03, 322.37°)
OKLaboklab(61.61% 0.1604 -0.1311)
OKLCHoklch(61.61% 0.207 320.7)
XYZxyz(34.3068, 20.5377, 61.1765)
Luminance0.2054 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4FCF #64CF4F
analogous
#7A4FCF #BA4FCF #CF4FA4
triadic
#BA4FCF #CFBA4F #4FCFBA
tetradic
#BA4FCF #CF7A4F #64CF4F #4FA4CF
square
#BA4FCF #CF7A4F #64CF4F #4FA4CF
split-complementary
#BA4FCF #A4CF4F #4FCF7A
monochromatic
#712381 #9C30B1 #BA4FCF #CD7FDC #E0AFE9

Accessibility & contrast

On white

4.11
#BA4FCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#BA4FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4FCF
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4FCF#FFFFFF#000000##000000
##BA4FCF1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3076D3
Deuteranopia (green-blind)
#5B81CC
Tritanopia (blue-blind)
#BB6488
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ba4fcf;
/* rgb */ color: rgb(186, 79, 207);
/* oklch */ color: oklch(61.6% 0.207 320.7);
Tailwind
colors: {
  custom: {
    50: '#d287de',
    500: '#ba4fcf',
    950: '#000000',
  },
}
SCSS
$custom: #ba4fcf;
$custom-light: #d287de;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4fcf",
  "rgb": {
    "r": 186,
    "g": 79,
    "b": 207
  },
  "hsl": {
    "h": 290.156,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61614,
    "c": 0.20718,
    "h": 320.7
  },
  "luminance": 0.20536
}

Semantic roles & 50–950 ramp

primary
#BA4FCF
secondary
#ABD7A2
accent
#E04761
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA4FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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