#BA5EDE#BA5EDE

#BA5EDE is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 64.3% C 0.200 H 315.4°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#BA5EDE
RGBrgb(186, 94, 222)
HSLhsl(283, 66%, 62%)
HSVhsv(283, 58%, 87%)
CMYKcmyk(16.2%, 57.7%, 0%, 12.9%)
CIE-LABlab(55.81, 57.00, -50.20)
CIE-LCHlch(55.81, 75.95, 318.63°)
OKLaboklab(64.33% 0.1425 -0.1404)
OKLCHoklch(64.33% 0.2 315.4)
XYZxyz(37.4352, 23.7197, 71.6995)
Luminance0.2372 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5EDE #82DE5E
analogous
#7A5EDE #BA5EDE #DE5EC2
triadic
#BA5EDE #DEBA5E #5EDEBA
tetradic
#BA5EDE #DE7A5E #82DE5E #5EC2DE
square
#BA5EDE #DE7A5E #82DE5E #5EC2DE
split-complementary
#BA5EDE #C2DE5E #5EDE7A
monochromatic
#7D21A1 #A42BD3 #BA5EDE #D091E8 #E6C4F3

Accessibility & contrast

On white

3.66
#BA5EDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#BA5EDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5EDE
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5EDE#FFFFFF#000000##000000
##BA5EDE1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A80E2
Deuteranopia (green-blind)
#5D88DB
Tritanopia (blue-blind)
#B87495
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ba5ede;
/* rgb */ color: rgb(186, 94, 222);
/* oklch */ color: oklch(64.3% 0.200 315.4);
Tailwind
colors: {
  custom: {
    50: '#d290e9',
    500: '#ba5ede',
    950: '#000000',
  },
}
SCSS
$custom: #ba5ede;
$custom-light: #d290e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5ede",
  "rgb": {
    "r": 186,
    "g": 94,
    "b": 222
  },
  "hsl": {
    "h": 283.125,
    "s": 65.979,
    "l": 61.961
  },
  "oklch": {
    "l": 0.64326,
    "c": 0.20007,
    "h": 315.4
  },
  "luminance": 0.23718
}

Semantic roles & 50–950 ramp

primary
#BA5EDE
secondary
#C2E4B4
accent
#CE184B
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA5EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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