#BA5CCE#BA5CCE

#BA5CCE is a light, vivid purple. Relative luminance 0.226; OKLCH L 63.2% C 0.187 H 320.3°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#BA5CCE
RGBrgb(186, 92, 206)
HSLhsl(289, 54%, 58%)
HSVhsv(289, 55%, 81%)
CMYKcmyk(9.7%, 55.3%, 0%, 19.2%)
CIE-LABlab(54.61, 54.78, -43.03)
CIE-LCHlch(54.61, 69.66, 321.85°)
OKLaboklab(63.18% 0.1441 -0.1195)
OKLCHoklch(63.18% 0.187 320.3)
XYZxyz(35.2161, 22.5512, 60.8784)
Luminance0.2255 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5CCE #70CE5C
analogous
#815CCE #BA5CCE #CE5CA9
triadic
#BA5CCE #CEBA5C #5CCEBA
tetradic
#BA5CCE #CE815C #70CE5C #5CA9CE
square
#BA5CCE #CE815C #70CE5C #5CA9CE
split-complementary
#BA5CCE #A9CE5C #5CCE81
monochromatic
#762987 #A037B6 #BA5CCE #CE8BDC #E2BAEA

Accessibility & contrast

On white

3.81
#BA5CCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#BA5CCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5CCE
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5CCE#FFFFFF#000000##000000
##BA5CCE1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#467CD2
Deuteranopia (green-blind)
#6686CB
Tritanopia (blue-blind)
#BB6D8C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ba5cce;
/* rgb */ color: rgb(186, 92, 206);
/* oklch */ color: oklch(63.2% 0.187 320.3);
Tailwind
colors: {
  custom: {
    50: '#d18edd',
    500: '#ba5cce',
    950: '#000000',
  },
}
SCSS
$custom: #ba5cce;
$custom-light: #d18edd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5cce",
  "rgb": {
    "r": 186,
    "g": 92,
    "b": 206
  },
  "hsl": {
    "h": 289.474,
    "s": 53.774,
    "l": 58.431
  },
  "oklch": {
    "l": 0.63177,
    "c": 0.18726,
    "h": 320.3
  },
  "luminance": 0.2255
}

Semantic roles & 50–950 ramp

primary
#BA5CCE
secondary
#B4DAAC
accent
#DD4B64
background
#FDF9FD
surface
#FAF1FB
border
#D3CBD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #BA5CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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