#BA5CCF#BA5CCF

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

Color values

HEX#BA5CCF
RGBrgb(186, 92, 207)
HSLhsl(289, 55%, 59%)
HSVhsv(289, 56%, 81%)
CMYKcmyk(10.1%, 55.6%, 0%, 18.8%)
CIE-LABlab(54.66, 54.97, -43.52)
CIE-LCHlch(54.66, 70.11, 321.63°)
OKLaboklab(63.23% 0.1442 -0.121)
OKLCHoklch(63.23% 0.188 320)
XYZxyz(35.3379, 22.5999, 61.5202)
Luminance0.2260 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5CCF #71CF5C
analogous
#805CCF #BA5CCF #CF5CAA
triadic
#BA5CCF #CFBA5C #5CCFBA
tetradic
#BA5CCF #CF805C #71CF5C #5CAACF
square
#BA5CCF #CF805C #71CF5C #5CAACF
split-complementary
#BA5CCF #AACF5C #5CCF80
monochromatic
#772888 #A036B8 #BA5CCF #CE8BDD #E2BBEB

Accessibility & contrast

On white

3.80
#BA5CCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#BA5CCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5CCF
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5CCF#FFFFFF#000000##000000
##BA5CCF1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#457CD3
Deuteranopia (green-blind)
#6586CC
Tritanopia (blue-blind)
#BB6D8D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ba5ccf;
/* rgb */ color: rgb(186, 92, 207);
/* oklch */ color: oklch(63.2% 0.188 320.0);
Tailwind
colors: {
  custom: {
    50: '#d18ede',
    500: '#ba5ccf',
    950: '#000000',
  },
}
SCSS
$custom: #ba5ccf;
$custom-light: #d18ede;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5ccf",
  "rgb": {
    "r": 186,
    "g": 92,
    "b": 207
  },
  "hsl": {
    "h": 289.043,
    "s": 54.502,
    "l": 58.627
  },
  "oklch": {
    "l": 0.6323,
    "c": 0.18823,
    "h": 320
  },
  "luminance": 0.22598
}

Semantic roles & 50–950 ramp

primary
#BA5CCF
secondary
#B5DAAD
accent
#DE4A65
background
#FDF9FD
surface
#FAF1FB
border
#D3CBD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #BA5CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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