#BA5BCE#BA5BCE

#BA5BCE is a light, vivid purple. Relative luminance 0.224; OKLCH L 63.0% C 0.189 H 320.4°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#BA5BCE
RGBrgb(186, 91, 206)
HSLhsl(290, 54%, 58%)
HSVhsv(290, 56%, 81%)
CMYKcmyk(9.7%, 55.8%, 0%, 19.2%)
CIE-LABlab(54.43, 55.26, -43.31)
CIE-LCHlch(54.43, 70.21, 321.91°)
OKLaboklab(63.04% 0.1454 -0.1204)
OKLCHoklch(63.04% 0.189 320.4)
XYZxyz(35.1300, 22.3790, 60.8497)
Luminance0.2238 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5BCE #6FCE5B
analogous
#805BCE #BA5BCE #CE5BA8
triadic
#BA5BCE #CEBA5B #5BCEBA
tetradic
#BA5BCE #CE805B #6FCE5B #5BA8CE
square
#BA5BCE #CE805B #6FCE5B #5BA8CE
split-complementary
#BA5BCE #A8CE5B #5BCE80
monochromatic
#762886 #9F36B6 #BA5BCE #CE8ADC #E2B9EA

Accessibility & contrast

On white

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

On black

5.48
#BA5BCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5BCE
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5BCE#FFFFFF#000000##000000
##BA5BCE1.003.845.485.48
#FFFFFF3.841.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#447BD2
Deuteranopia (green-blind)
#6586CB
Tritanopia (blue-blind)
#BB6C8C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ba5bce;
/* rgb */ color: rgb(186, 91, 206);
/* oklch */ color: oklch(63.0% 0.189 320.4);
Tailwind
colors: {
  custom: {
    50: '#d18edd',
    500: '#ba5bce',
    950: '#000000',
  },
}
SCSS
$custom: #ba5bce;
$custom-light: #d18edd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5bce",
  "rgb": {
    "r": 186,
    "g": 91,
    "b": 206
  },
  "hsl": {
    "h": 289.565,
    "s": 53.991,
    "l": 58.235
  },
  "oklch": {
    "l": 0.63045,
    "c": 0.18878,
    "h": 320.4
  },
  "luminance": 0.22378
}

Semantic roles & 50–950 ramp

primary
#BA5BCE
secondary
#B3D9AB
accent
#DD4A64
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140D15
muted
#837D83

Preview Lab

Preview with #BA5BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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