#BA56DE#BA56DE

#BA56DE is a light, highly saturated purple. Relative luminance 0.224; OKLCH L 63.3% C 0.212 H 316.1°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#BA56DE
RGBrgb(186, 86, 222)
HSLhsl(284, 67%, 60%)
HSVhsv(284, 61%, 87%)
CMYKcmyk(16.2%, 61.3%, 0%, 12.9%)
CIE-LABlab(54.42, 60.77, -52.41)
CIE-LCHlch(54.42, 80.25, 319.23°)
OKLaboklab(63.32% 0.1523 -0.1468)
OKLCHoklch(63.32% 0.212 316.1)
XYZxyz(36.7603, 22.3699, 71.4745)
Luminance0.2237 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA56DE #7ADE56
analogous
#7656DE #BA56DE #DE56BE
triadic
#BA56DE #DEBA56 #56DEBA
tetradic
#BA56DE #DE7656 #7ADE56 #56BEDE
square
#BA56DE #DE7656 #7ADE56 #56BEDE
split-complementary
#BA56DE #BEDE56 #56DE76
monochromatic
#7A1E9B #A228CE #BA56DE #CF89E8 #E4BCF2

Accessibility & contrast

On white

3.84
#BA56DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#BA56DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA56DE
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA56DE#FFFFFF#000000##000000
##BA56DE1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7CE2
Deuteranopia (green-blind)
#5685DB
Tritanopia (blue-blind)
#B86E92
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ba56de;
/* rgb */ color: rgb(186, 86, 222);
/* oklch */ color: oklch(63.3% 0.212 316.1);
Tailwind
colors: {
  custom: {
    50: '#d28be9',
    500: '#ba56de',
    950: '#000000',
  },
}
SCSS
$custom: #ba56de;
$custom-light: #d28be9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba56de",
  "rgb": {
    "r": 186,
    "g": 86,
    "b": 222
  },
  "hsl": {
    "h": 284.118,
    "s": 67.327,
    "l": 60.392
  },
  "oklch": {
    "l": 0.63315,
    "c": 0.21155,
    "h": 316.1
  },
  "luminance": 0.22369
}

Semantic roles & 50–950 ramp

primary
#BA56DE
secondary
#BCE2AE
accent
#CF1647
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #BA56DE

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

Preview Lab → · Contrast checker → · Palette generator →

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