#BA5EBF#BA5EBF

#BA5EBF is a light, vivid purple. Relative luminance 0.222; OKLCH L 62.7% C 0.170 H 325.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#BA5EBF
RGBrgb(186, 94, 191)
HSLhsl(297, 43%, 56%)
HSVhsv(297, 51%, 75%)
CMYKcmyk(2.6%, 50.8%, 0%, 25.1%)
CIE-LABlab(54.25, 50.95, -35.01)
CIE-LCHlch(54.25, 61.81, 325.50°)
OKLaboklab(62.67% 0.1398 -0.0964)
OKLCHoklch(62.67% 0.17 325.4)
XYZxyz(33.6556, 22.2078, 51.7939)
Luminance0.2221 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5EBF #63BF5E
analogous
#895EBF #BA5EBF #BF5E93
triadic
#BA5EBF #BFBA5E #5EBFBA
tetradic
#BA5EBF #BF895E #63BF5E #5E93BF
square
#BA5EBF #BF895E #63BF5E #5E93BF
split-complementary
#BA5EBF #93BF5E #5EBF89
monochromatic
#712E74 #9B40A0 #BA5EBF #CD8AD0 #E0B6E2

Accessibility & contrast

On white

3.86
#BA5EBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#BA5EBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5EBF
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5EBF#FFFFFF#000000##000000
##BA5EBF1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#537AC2
Deuteranopia (green-blind)
#6F86BC
Tritanopia (blue-blind)
#BE6986
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ba5ebf;
/* rgb */ color: rgb(186, 94, 191);
/* oklch */ color: oklch(62.7% 0.170 325.4);
Tailwind
colors: {
  custom: {
    50: '#d18fd2',
    500: '#ba5ebf',
    950: '#000000',
  },
}
SCSS
$custom: #ba5ebf;
$custom-light: #d18fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5ebf",
  "rgb": {
    "r": 186,
    "g": 94,
    "b": 191
  },
  "hsl": {
    "h": 296.907,
    "s": 43.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.62674,
    "c": 0.16977,
    "h": 325.4
  },
  "luminance": 0.22206
}

Semantic roles & 50–950 ramp

primary
#BA5EBF
secondary
#AAD0A8
accent
#D3555B
background
#FDF9FC
surface
#FAF1F9
border
#D3CBD2
text
#140D14
muted
#837E82

Preview Lab

Preview with #BA5EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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