#BA5ADB#BA5ADB

#BA5ADB is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 63.6% C 0.203 H 316.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#BA5ADB
RGBrgb(186, 90, 219)
HSLhsl(285, 64%, 61%)
HSVhsv(285, 59%, 86%)
CMYKcmyk(15.1%, 58.9%, 0%, 14.1%)
CIE-LABlab(54.94, 58.30, -49.89)
CIE-LCHlch(54.94, 76.73, 319.45°)
OKLaboklab(63.64% 0.1474 -0.1395)
OKLCHoklch(63.64% 0.203 316.6)
XYZxyz(36.6901, 22.8672, 69.4852)
Luminance0.2287 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5ADB #7BDB5A
analogous
#795ADB #BA5ADB #DB5ABB
triadic
#BA5ADB #DBBA5A #5ADBBA
tetradic
#BA5ADB #DB795A #7BDB5A #5ABBDB
square
#BA5ADB #DB795A #7BDB5A #5ABBDB
split-complementary
#BA5ADB #BBDB5A #5ADB79
monochromatic
#7B2199 #A32CCB #BA5ADB #CF8CE6 #E4BEF1

Accessibility & contrast

On white

3.77
#BA5ADB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#BA5ADB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5ADB
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5ADB#FFFFFF#000000##000000
##BA5ADB1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#367EDF
Deuteranopia (green-blind)
#5C86D8
Tritanopia (blue-blind)
#B87092
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ba5adb;
/* rgb */ color: rgb(186, 90, 219);
/* oklch */ color: oklch(63.6% 0.203 316.6);
Tailwind
colors: {
  custom: {
    50: '#d28de7',
    500: '#ba5adb',
    950: '#000000',
  },
}
SCSS
$custom: #ba5adb;
$custom-light: #d28de7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5adb",
  "rgb": {
    "r": 186,
    "g": 90,
    "b": 219
  },
  "hsl": {
    "h": 284.651,
    "s": 64.179,
    "l": 60.588
  },
  "oklch": {
    "l": 0.63638,
    "c": 0.20294,
    "h": 316.6
  },
  "luminance": 0.22866
}

Semantic roles & 50–950 ramp

primary
#BA5ADB
secondary
#BCE1B0
accent
#CC1A47
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140D16
muted
#837D84

Preview Lab

Preview with #BA5ADB

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

Preview Lab → · Contrast checker → · Palette generator →

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