#BA5CE3#BA5CE3

#BA5CE3 is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.4% C 0.208 H 314.2°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#BA5CE3
RGBrgb(186, 92, 227)
HSLhsl(282, 71%, 63%)
HSVhsv(282, 59%, 89%)
CMYKcmyk(18.1%, 59.5%, 0%, 11%)
CIE-LABlab(55.73, 58.98, -53.14)
CIE-LCHlch(55.73, 79.39, 317.98°)
OKLaboklab(64.36% 0.1451 -0.149)
OKLCHoklch(64.36% 0.208 314.2)
XYZxyz(37.9397, 23.6406, 75.2227)
Luminance0.2364 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5CE3 #85E35C
analogous
#775CE3 #BA5CE3 #E35CC8
triadic
#BA5CE3 #E3BA5C #5CE3BA
tetradic
#BA5CE3 #E3775C #85E35C #5CC8E3
square
#BA5CE3 #E3775C #85E35C #5CC8E3
split-complementary
#BA5CE3 #C8E35C #5CE377
monochromatic
#7E1DA8 #A428DA #BA5CE3 #D090EC #E6C4F5

Accessibility & contrast

On white

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

On black

5.73
#BA5CE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5CE3
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5CE3#FFFFFF#000000##000000
##BA5CE31.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3080E7
Deuteranopia (green-blind)
#5888E0
Tritanopia (blue-blind)
#B77497
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ba5ce3;
/* rgb */ color: rgb(186, 92, 227);
/* oklch */ color: oklch(64.4% 0.208 314.2);
Tailwind
colors: {
  custom: {
    50: '#d28fec',
    500: '#ba5ce3',
    950: '#000000',
  },
}
SCSS
$custom: #ba5ce3;
$custom-light: #d28fec;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5ce3",
  "rgb": {
    "r": 186,
    "g": 92,
    "b": 227
  },
  "hsl": {
    "h": 281.778,
    "s": 70.681,
    "l": 62.549
  },
  "oklch": {
    "l": 0.64356,
    "c": 0.20799,
    "h": 314.2
  },
  "luminance": 0.23639
}

Semantic roles & 50–950 ramp

primary
#BA5CE3
secondary
#C4E6B5
accent
#D3134D
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA5CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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