#BA5DBE#BA5DBE

#BA5DBE is a light, vivid purple. Relative luminance 0.220; OKLCH L 62.5% C 0.170 H 325.8°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#BA5DBE
RGBrgb(186, 93, 190)
HSLhsl(298, 43%, 55%)
HSVhsv(298, 51%, 75%)
CMYKcmyk(2.1%, 51.1%, 0%, 25.5%)
CIE-LABlab(54.01, 51.26, -34.80)
CIE-LCHlch(54.01, 61.95, 325.83°)
OKLaboklab(62.49% 0.141 -0.0958)
OKLCHoklch(62.49% 0.17 325.8)
XYZxyz(33.4576, 21.9873, 51.1869)
Luminance0.2199 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5DBE #61BE5D
analogous
#895DBE #BA5DBE #BE5D91
triadic
#BA5DBE #BEBA5D #5DBEBA
tetradic
#BA5DBE #BE895D #61BE5D #5D91BE
square
#BA5DBE #BE895D #61BE5D #5D91BE
split-complementary
#BA5DBE #91BE5D #5DBE89
monochromatic
#702E73 #9A409E #BA5DBE #CD89D0 #DFB4E1

Accessibility & contrast

On white

3.89
#BA5DBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#BA5DBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5DBE
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5DBE#FFFFFF#000000##000000
##BA5DBE1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#527AC1
Deuteranopia (green-blind)
#6E85BB
Tritanopia (blue-blind)
#BE6885
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ba5dbe;
/* rgb */ color: rgb(186, 93, 190);
/* oklch */ color: oklch(62.5% 0.170 325.8);
Tailwind
colors: {
  custom: {
    50: '#d18fd2',
    500: '#ba5dbe',
    950: '#000000',
  },
}
SCSS
$custom: #ba5dbe;
$custom-light: #d18fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5dbe",
  "rgb": {
    "r": 186,
    "g": 93,
    "b": 190
  },
  "hsl": {
    "h": 297.526,
    "s": 42.731,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62487,
    "c": 0.17045,
    "h": 325.8
  },
  "luminance": 0.21986
}

Semantic roles & 50–950 ramp

primary
#BA5DBE
secondary
#A9D0A7
accent
#D3555A
background
#FDF9FC
surface
#FAF1F9
border
#D3CBD2
text
#140D14
muted
#837E82

Preview Lab

Preview with #BA5DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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