#BA4BCF#BA4BCF

#BA4BCF is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.2% C 0.213 H 320.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#BA4BCF
RGBrgb(186, 75, 207)
HSLhsl(290, 58%, 55%)
HSVhsv(290, 64%, 81%)
CMYKcmyk(10.1%, 63.8%, 0%, 18.8%)
CIE-LABlab(51.81, 62.74, -48.03)
CIE-LCHlch(51.81, 79.01, 322.56°)
OKLaboklab(61.16% 0.1651 -0.134)
OKLCHoklch(61.16% 0.213 320.9)
XYZxyz(34.0270, 19.9779, 61.0832)
Luminance0.1998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4BCF #60CF4B
analogous
#784BCF #BA4BCF #CF4BA2
triadic
#BA4BCF #CFBA4B #4BCFBA
tetradic
#BA4BCF #CF784B #60CF4B #4BA2CF
square
#BA4BCF #CF784B #60CF4B #4BA2CF
split-complementary
#BA4BCF #A2CF4B #4BCF78
monochromatic
#6F227E #9A2EAE #BA4BCF #CD7BDC #DFACE9

Accessibility & contrast

On white

4.20
#BA4BCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#BA4BCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4BCF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4BCF#FFFFFF#000000##000000
##BA4BCF1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2874D3
Deuteranopia (green-blind)
#5880CC
Tritanopia (blue-blind)
#BB6187
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ba4bcf;
/* rgb */ color: rgb(186, 75, 207);
/* oklch */ color: oklch(61.2% 0.213 320.9);
Tailwind
colors: {
  custom: {
    50: '#d285de',
    500: '#ba4bcf',
    950: '#000000',
  },
}
SCSS
$custom: #ba4bcf;
$custom-light: #d285de;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4bcf",
  "rgb": {
    "r": 186,
    "g": 75,
    "b": 207
  },
  "hsl": {
    "h": 290.455,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.6116,
    "c": 0.21261,
    "h": 320.9
  },
  "luminance": 0.19976
}

Semantic roles & 50–950 ramp

primary
#BA4BCF
secondary
#A8D69F
accent
#E1475F
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA4BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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