#BA5EDF#BA5EDF

#BA5EDF is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 64.4% C 0.201 H 315.2°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#BA5EDF
RGBrgb(186, 94, 223)
HSLhsl(283, 67%, 62%)
HSVhsv(283, 58%, 87%)
CMYKcmyk(16.6%, 57.8%, 0%, 12.5%)
CIE-LABlab(55.86, 57.20, -50.67)
CIE-LCHlch(55.86, 76.42, 318.46°)
OKLaboklab(64.38% 0.1426 -0.1418)
OKLCHoklch(64.38% 0.201 315.2)
XYZxyz(37.5696, 23.7734, 72.4074)
Luminance0.2377 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5EDF #83DF5E
analogous
#7A5EDF #BA5EDF #DF5EC3
triadic
#BA5EDF #DFBA5E #5EDFBA
tetradic
#BA5EDF #DF7A5E #83DF5E #5EC3DF
square
#BA5EDF #DF7A5E #83DF5E #5EC3DF
split-complementary
#BA5EDF #C3DF5E #5EDF7A
monochromatic
#7D20A2 #A42BD5 #BA5EDF #D091E9 #E6C4F3

Accessibility & contrast

On white

3.65
#BA5EDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#BA5EDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5EDF
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5EDF#FFFFFF#000000##000000
##BA5EDF1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3980E3
Deuteranopia (green-blind)
#5D88DC
Tritanopia (blue-blind)
#B77496
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ba5edf;
/* rgb */ color: rgb(186, 94, 223);
/* oklch */ color: oklch(64.4% 0.201 315.2);
Tailwind
colors: {
  custom: {
    50: '#d290e9',
    500: '#ba5edf',
    950: '#000000',
  },
}
SCSS
$custom: #ba5edf;
$custom-light: #d290e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5edf",
  "rgb": {
    "r": 186,
    "g": 94,
    "b": 223
  },
  "hsl": {
    "h": 282.791,
    "s": 66.839,
    "l": 62.157
  },
  "oklch": {
    "l": 0.64383,
    "c": 0.20108,
    "h": 315.2
  },
  "luminance": 0.23772
}

Semantic roles & 50–950 ramp

primary
#BA5EDF
secondary
#C2E4B5
accent
#CF174C
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA5EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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