#BA5DDF#BA5DDF

#BA5DDF is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.3% C 0.203 H 315.2°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#BA5DDF
RGBrgb(186, 93, 223)
HSLhsl(283, 67%, 62%)
HSVhsv(283, 58%, 87%)
CMYKcmyk(16.6%, 58.3%, 0%, 12.5%)
CIE-LABlab(55.68, 57.69, -50.96)
CIE-LCHlch(55.68, 76.97, 318.54°)
OKLaboklab(64.25% 0.1438 -0.1426)
OKLCHoklch(64.25% 0.203 315.2)
XYZxyz(37.4812, 23.5967, 72.3780)
Luminance0.2360 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5DDF #82DF5D
analogous
#795DDF #BA5DDF #DF5DC3
triadic
#BA5DDF #DFBA5D #5DDFBA
tetradic
#BA5DDF #DF795D #82DF5D #5DC3DF
square
#BA5DDF #DF795D #82DF5D #5DC3DF
split-complementary
#BA5DDF #C3DF5D #5DDF79
monochromatic
#7D20A2 #A42AD5 #BA5DDF #D090E9 #E6C3F3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA5DDF#FFFFFF#000000##000000
##BA5DDF1.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)
#3780E3
Deuteranopia (green-blind)
#5C88DC
Tritanopia (blue-blind)
#B77395
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ba5ddf;
/* rgb */ color: rgb(186, 93, 223);
/* oklch */ color: oklch(64.3% 0.203 315.2);
Tailwind
colors: {
  custom: {
    50: '#d28fe9',
    500: '#ba5ddf',
    950: '#000000',
  },
}
SCSS
$custom: #ba5ddf;
$custom-light: #d28fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5ddf",
  "rgb": {
    "r": 186,
    "g": 93,
    "b": 223
  },
  "hsl": {
    "h": 282.923,
    "s": 67.01,
    "l": 61.961
  },
  "oklch": {
    "l": 0.64253,
    "c": 0.20255,
    "h": 315.2
  },
  "luminance": 0.23596
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA5DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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