#BA59CF#BA59CF

#BA59CF is a light, vivid purple. Relative luminance 0.221; OKLCH L 62.8% C 0.193 H 320.2°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#BA59CF
RGBrgb(186, 89, 207)
HSLhsl(289, 55%, 58%)
HSVhsv(289, 57%, 81%)
CMYKcmyk(10.1%, 57%, 0%, 18.8%)
CIE-LABlab(54.12, 56.41, -44.36)
CIE-LCHlch(54.12, 71.77, 321.82°)
OKLaboklab(62.84% 0.1481 -0.1234)
OKLCHoklch(62.84% 0.193 320.2)
XYZxyz(35.0832, 22.0904, 61.4353)
Luminance0.2209 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA59CF #6ECF59
analogous
#7F59CF #BA59CF #CF59A9
triadic
#BA59CF #CFBA59 #59CFBA
tetradic
#BA59CF #CF7F59 #6ECF59 #59A9CF
square
#BA59CF #CF7F59 #6ECF59 #59A9CF
split-complementary
#BA59CF #A9CF59 #59CF7F
monochromatic
#762787 #9F35B6 #BA59CF #CE88DD #E1B8EA

Accessibility & contrast

On white

3.88
#BA59CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#BA59CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA59CF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA59CF#FFFFFF#000000##000000
##BA59CF1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#417BD3
Deuteranopia (green-blind)
#6385CC
Tritanopia (blue-blind)
#BB6B8C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ba59cf;
/* rgb */ color: rgb(186, 89, 207);
/* oklch */ color: oklch(62.8% 0.193 320.2);
Tailwind
colors: {
  custom: {
    50: '#d18dde',
    500: '#ba59cf',
    950: '#000000',
  },
}
SCSS
$custom: #ba59cf;
$custom-light: #d18dde;
$custom-dark: #000000;
JSON
{
  "hex": "#ba59cf",
  "rgb": {
    "r": 186,
    "g": 89,
    "b": 207
  },
  "hsl": {
    "h": 289.322,
    "s": 55.14,
    "l": 58.039
  },
  "oklch": {
    "l": 0.62839,
    "c": 0.19276,
    "h": 320.2
  },
  "luminance": 0.22089
}

Semantic roles & 50–950 ramp

primary
#BA59CF
secondary
#B3D9AA
accent
#DE4964
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA59CF

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

Preview Lab → · Contrast checker → · Palette generator →

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