#BA5EDC#BA5EDC

#BA5EDC is a light, vivid purple. Relative luminance 0.236; OKLCH L 64.2% C 0.198 H 316.0°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#BA5EDC
RGBrgb(186, 94, 220)
HSLhsl(284, 64%, 62%)
HSVhsv(284, 57%, 86%)
CMYKcmyk(15.5%, 57.3%, 0%, 13.7%)
CIE-LABlab(55.70, 56.59, -49.24)
CIE-LCHlch(55.70, 75.01, 318.97°)
OKLaboklab(64.21% 0.1425 -0.1376)
OKLCHoklch(64.21% 0.198 316)
XYZxyz(37.1687, 23.6131, 70.2961)
Luminance0.2361 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5EDC #80DC5E
analogous
#7B5EDC #BA5EDC #DC5EBF
triadic
#BA5EDC #DCBA5E #5EDCBA
tetradic
#BA5EDC #DC7B5E #80DC5E #5EBFDC
square
#BA5EDC #DC7B5E #80DC5E #5EBFDC
split-complementary
#BA5EDC #BFDC5E #5EDC7B
monochromatic
#7C229D #A42DD0 #BA5EDC #D090E7 #E5C3F2

Accessibility & contrast

On white

3.67
#BA5EDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#BA5EDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5EDC
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5EDC#FFFFFF#000000##000000
##BA5EDC1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D80E0
Deuteranopia (green-blind)
#5F88D9
Tritanopia (blue-blind)
#B87394
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ba5edc;
/* rgb */ color: rgb(186, 94, 220);
/* oklch */ color: oklch(64.2% 0.198 316.0);
Tailwind
colors: {
  custom: {
    50: '#d290e7',
    500: '#ba5edc',
    950: '#000000',
  },
}
SCSS
$custom: #ba5edc;
$custom-light: #d290e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5edc",
  "rgb": {
    "r": 186,
    "g": 94,
    "b": 220
  },
  "hsl": {
    "h": 283.81,
    "s": 64.286,
    "l": 61.569
  },
  "oklch": {
    "l": 0.64212,
    "c": 0.19807,
    "h": 316
  },
  "luminance": 0.23612
}

Semantic roles & 50–950 ramp

primary
#BA5EDC
secondary
#C0E2B3
accent
#CC194A
background
#FDF9FE
surface
#FAF1FC
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA5EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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