#BA5CE0#BA5CE0

#BA5CE0 is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.2% C 0.205 H 315.0°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#BA5CE0
RGBrgb(186, 92, 224)
HSLhsl(283, 68%, 62%)
HSVhsv(283, 59%, 88%)
CMYKcmyk(17%, 58.9%, 0%, 12.2%)
CIE-LABlab(55.56, 58.37, -51.72)
CIE-LCHlch(55.56, 77.98, 318.46°)
OKLaboklab(64.18% 0.1451 -0.1448)
OKLCHoklch(64.18% 0.205 315)
XYZxyz(37.5292, 23.4764, 73.0610)
Luminance0.2347 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5CE0 #82E05C
analogous
#785CE0 #BA5CE0 #E05CC4
triadic
#BA5CE0 #E0BA5C #5CE0BA
tetradic
#BA5CE0 #E0785C #82E05C #5CC4E0
square
#BA5CE0 #E0785C #82E05C #5CC4E0
split-complementary
#BA5CE0 #C4E05C #5CE078
monochromatic
#7D1FA3 #A429D6 #BA5CE0 #D08FEA #E6C3F4

Accessibility & contrast

On white

3.69
#BA5CE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#BA5CE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5CE0
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5CE0#FFFFFF#000000##000000
##BA5CE01.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3480E4
Deuteranopia (green-blind)
#5A88DD
Tritanopia (blue-blind)
#B77396
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ba5ce0;
/* rgb */ color: rgb(186, 92, 224);
/* oklch */ color: oklch(64.2% 0.205 315.0);
Tailwind
colors: {
  custom: {
    50: '#d28fea',
    500: '#ba5ce0',
    950: '#000000',
  },
}
SCSS
$custom: #ba5ce0;
$custom-light: #d28fea;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5ce0",
  "rgb": {
    "r": 186,
    "g": 92,
    "b": 224
  },
  "hsl": {
    "h": 282.727,
    "s": 68.041,
    "l": 61.961
  },
  "oklch": {
    "l": 0.64181,
    "c": 0.205,
    "h": 315
  },
  "luminance": 0.23475
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA5CE0

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

Preview Lab → · Contrast checker → · Palette generator →

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