#BA5DDA#BA5DDA

#BA5DDA is a light, vivid purple. Relative luminance 0.233; OKLCH L 64.0% C 0.198 H 316.6°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#BA5DDA
RGBrgb(186, 93, 218)
HSLhsl(285, 63%, 61%)
HSVhsv(285, 57%, 85%)
CMYKcmyk(14.7%, 57.3%, 0%, 14.5%)
CIE-LABlab(55.41, 56.67, -48.56)
CIE-LCHlch(55.41, 74.63, 319.40°)
OKLaboklab(63.97% 0.1436 -0.1356)
OKLCHoklch(63.97% 0.198 316.6)
XYZxyz(36.8171, 23.3311, 68.8800)
Luminance0.2333 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5DDA #7DDA5D
analogous
#7B5DDA #BA5DDA #DA5DBB
triadic
#BA5DDA #DABA5D #5DDABA
tetradic
#BA5DDA #DA7B5D #7DDA5D #5DBBDA
square
#BA5DDA #DA7B5D #7DDA5D #5DBBDA
split-complementary
#BA5DDA #BBDA5D #5DDA7B
monochromatic
#7B239A #A32ECB #BA5DDA #CF8FE5 #E4C1F1

Accessibility & contrast

On white

3.71
#BA5DDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#BA5DDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5DDA
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5DDA#FFFFFF#000000##000000
##BA5DDA1.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7FDE
Deuteranopia (green-blind)
#5F88D7
Tritanopia (blue-blind)
#B97293
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ba5dda;
/* rgb */ color: rgb(186, 93, 218);
/* oklch */ color: oklch(64.0% 0.198 316.6);
Tailwind
colors: {
  custom: {
    50: '#d28fe6',
    500: '#ba5dda',
    950: '#000000',
  },
}
SCSS
$custom: #ba5dda;
$custom-light: #d28fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5dda",
  "rgb": {
    "r": 186,
    "g": 93,
    "b": 218
  },
  "hsl": {
    "h": 284.64,
    "s": 62.814,
    "l": 60.98
  },
  "oklch": {
    "l": 0.63968,
    "c": 0.19755,
    "h": 316.6
  },
  "luminance": 0.2333
}

Semantic roles & 50–950 ramp

primary
#BA5DDA
secondary
#BEE1B2
accent
#CB1B48
background
#FDF9FE
surface
#FAF1FC
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA5DDA

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

Preview Lab → · Contrast checker → · Palette generator →

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