#BA4CDD#BA4CDD

#BA4CDD is a light, highly saturated purple. Relative luminance 0.208; OKLCH L 62.1% C 0.224 H 317.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#BA4CDD
RGBrgb(186, 76, 221)
HSLhsl(286, 68%, 58%)
HSVhsv(286, 66%, 87%)
CMYKcmyk(15.8%, 65.6%, 0%, 13.3%)
CIE-LABlab(52.76, 64.98, -54.49)
CIE-LCHlch(52.76, 84.80, 320.02°)
OKLaboklab(62.1% 0.1638 -0.1528)
OKLCHoklch(62.1% 0.224 317)
XYZxyz(35.8834, 20.8299, 70.5230)
Luminance0.2083 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4CDD #6FDD4C
analogous
#714CDD #BA4CDD #DD4CB8
triadic
#BA4CDD #DDBA4C #4CDDBA
tetradic
#BA4CDD #DD714C #6FDD4C #4CB8DD
square
#BA4CDD #DD714C #6FDD4C #4CB8DD
split-complementary
#BA4CDD #B8DD4C #4CDD71
monochromatic
#761C93 #9F26C6 #BA4CDD #CE7FE7 #E2B3F1

Accessibility & contrast

On white

4.07
#BA4CDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#BA4CDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4CDD
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4CDD#FFFFFF#000000##000000
##BA4CDD1.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0977E1
Deuteranopia (green-blind)
#4F81DA
Tritanopia (blue-blind)
#B8678E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ba4cdd;
/* rgb */ color: rgb(186, 76, 221);
/* oklch */ color: oklch(62.1% 0.224 317.0);
Tailwind
colors: {
  custom: {
    50: '#d286e8',
    500: '#ba4cdd',
    950: '#000000',
  },
}
SCSS
$custom: #ba4cdd;
$custom-light: #d286e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4cdd",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 221
  },
  "hsl": {
    "h": 285.517,
    "s": 68.075,
    "l": 58.235
  },
  "oklch": {
    "l": 0.62102,
    "c": 0.224,
    "h": 317
  },
  "luminance": 0.20828
}

Semantic roles & 50–950 ramp

primary
#BA4CDD
secondary
#B3DFA6
accent
#EB3D67
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BA4CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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