#BA58CF#BA58CF

#BA58CF is a light, vivid purple. Relative luminance 0.219; OKLCH L 62.7% C 0.194 H 320.3°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#BA58CF
RGBrgb(186, 88, 207)
HSLhsl(289, 55%, 58%)
HSVhsv(289, 57%, 81%)
CMYKcmyk(10.1%, 57.5%, 0%, 18.8%)
CIE-LABlab(53.95, 56.89, -44.64)
CIE-LCHlch(53.95, 72.31, 321.88°)
OKLaboklab(62.71% 0.1494 -0.1242)
OKLCHoklch(62.71% 0.194 320.3)
XYZxyz(35.0005, 21.9251, 61.4077)
Luminance0.2192 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA58CF #6DCF58
analogous
#7E58CF #BA58CF #CF58A8
triadic
#BA58CF #CFBA58 #58CFBA
tetradic
#BA58CF #CF7E58 #6DCF58 #58A8CF
square
#BA58CF #CF7E58 #6DCF58 #58A8CF
split-complementary
#BA58CF #A8CF58 #58CF7E
monochromatic
#752786 #9F34B6 #BA58CF #CE88DD #E1B7EA

Accessibility & contrast

On white

3.90
#BA58CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#BA58CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA58CF
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA58CF#FFFFFF#000000##000000
##BA58CF1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7AD3
Deuteranopia (green-blind)
#6285CC
Tritanopia (blue-blind)
#BB6A8B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ba58cf;
/* rgb */ color: rgb(186, 88, 207);
/* oklch */ color: oklch(62.7% 0.194 320.3);
Tailwind
colors: {
  custom: {
    50: '#d18cde',
    500: '#ba58cf',
    950: '#000000',
  },
}
SCSS
$custom: #ba58cf;
$custom-light: #d18cde;
$custom-dark: #000000;
JSON
{
  "hex": "#ba58cf",
  "rgb": {
    "r": 186,
    "g": 88,
    "b": 207
  },
  "hsl": {
    "h": 289.412,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.62711,
    "c": 0.19425,
    "h": 320.3
  },
  "luminance": 0.21924
}

Semantic roles & 50–950 ramp

primary
#BA58CF
secondary
#B2D9AA
accent
#DF4964
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA58CF

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

Preview Lab → · Contrast checker → · Palette generator →

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