#BA5FCF#BA5FCF

#BA5FCF is a light, vivid purple. Relative luminance 0.231; OKLCH L 63.6% C 0.184 H 319.8°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#BA5FCF
RGBrgb(186, 95, 207)
HSLhsl(289, 54%, 59%)
HSVhsv(289, 54%, 81%)
CMYKcmyk(10.1%, 54.1%, 0%, 18.8%)
CIE-LABlab(55.21, 53.51, -42.65)
CIE-LCHlch(55.21, 68.43, 321.44°)
OKLaboklab(63.63% 0.1403 -0.1185)
OKLCHoklch(63.63% 0.184 319.8)
XYZxyz(35.6030, 23.1300, 61.6085)
Luminance0.2313 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5FCF #74CF5F
analogous
#825FCF #BA5FCF #CF5FAC
triadic
#BA5FCF #CFBA5F #5FCFBA
tetradic
#BA5FCF #CF825F #74CF5F #5FACCF
square
#BA5FCF #CF825F #74CF5F #5FACCF
split-complementary
#BA5FCF #ACCF5F #5FCF82
monochromatic
#78298A #A138B9 #BA5FCF #CE8EDD #E3BDEB

Accessibility & contrast

On white

3.73
#BA5FCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#BA5FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5FCF
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5FCF#FFFFFF#000000##000000
##BA5FCF1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#497ED3
Deuteranopia (green-blind)
#6787CC
Tritanopia (blue-blind)
#BB6F8E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ba5fcf;
/* rgb */ color: rgb(186, 95, 207);
/* oklch */ color: oklch(63.6% 0.184 319.8);
Tailwind
colors: {
  custom: {
    50: '#d190de',
    500: '#ba5fcf',
    950: '#000000',
  },
}
SCSS
$custom: #ba5fcf;
$custom-light: #d190de;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5fcf",
  "rgb": {
    "r": 186,
    "g": 95,
    "b": 207
  },
  "hsl": {
    "h": 288.75,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.63633,
    "c": 0.18361,
    "h": 319.8
  },
  "luminance": 0.23129
}

Semantic roles & 50–950 ramp

primary
#BA5FCF
secondary
#B7DBAF
accent
#DD4B66
background
#FDF9FD
surface
#FAF1FB
border
#D3CBD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #BA5FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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