#BA5FCA#BA5FCA

#BA5FCA is a light, vivid purple. Relative luminance 0.229; OKLCH L 63.4% C 0.179 H 321.5°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#BA5FCA
RGBrgb(186, 95, 202)
HSLhsl(291, 50%, 58%)
HSVhsv(291, 53%, 79%)
CMYKcmyk(7.9%, 53%, 0%, 20.8%)
CIE-LABlab(54.96, 52.53, -40.19)
CIE-LCHlch(54.96, 66.15, 322.58°)
OKLaboklab(63.37% 0.1398 -0.1113)
OKLCHoklch(63.37% 0.179 321.5)
XYZxyz(35.0014, 22.8893, 58.4401)
Luminance0.2289 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5FCA #6FCA5F
analogous
#845FCA #BA5FCA #CA5FA4
triadic
#BA5FCA #CABA5F #5FCABA
tetradic
#BA5FCA #CA845F #6FCA5F #5FA4CA
square
#BA5FCA #CA845F #6FCA5F #5FA4CA
split-complementary
#BA5FCA #A4CA5F #5FCA84
monochromatic
#762B83 #9F3BB1 #BA5FCA #CE8DD9 #E2BBE8

Accessibility & contrast

On white

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

On black

5.58
#BA5FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5FCA
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5FCA#FFFFFF#000000##000000
##BA5FCA1.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D7DCE
Deuteranopia (green-blind)
#6A87C7
Tritanopia (blue-blind)
#BC6E8C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ba5fca;
/* rgb */ color: rgb(186, 95, 202);
/* oklch */ color: oklch(63.4% 0.179 321.5);
Tailwind
colors: {
  custom: {
    50: '#d190da',
    500: '#ba5fca',
    950: '#000000',
  },
}
SCSS
$custom: #ba5fca;
$custom-light: #d190da;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5fca",
  "rgb": {
    "r": 186,
    "g": 95,
    "b": 202
  },
  "hsl": {
    "h": 291.028,
    "s": 50.235,
    "l": 58.235
  },
  "oklch": {
    "l": 0.6337,
    "c": 0.1787,
    "h": 321.5
  },
  "luminance": 0.22888
}

Semantic roles & 50–950 ramp

primary
#BA5FCA
secondary
#B3D8AD
accent
#DA4E63
background
#FDF9FD
surface
#FAF1FB
border
#D3CBD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #BA5FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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