#BA6FDF#BA6FDF

#BA6FDF is a light, vivid purple. Relative luminance 0.271; OKLCH L 66.8% C 0.175 H 313.5°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#BA6FDF
RGBrgb(186, 111, 223)
HSLhsl(280, 64%, 65%)
HSVhsv(280, 50%, 87%)
CMYKcmyk(16.6%, 50.2%, 0%, 12.5%)
CIE-LABlab(59.10, 48.63, -45.54)
CIE-LCHlch(59.10, 66.62, 316.88°)
OKLaboklab(66.77% 0.1204 -0.1269)
OKLCHoklch(66.77% 0.175 313.5)
XYZxyz(39.2512, 27.1367, 72.9679)
Luminance0.2714 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6FDF #94DF6F
analogous
#826FDF #BA6FDF #DF6FCC
triadic
#BA6FDF #DFBA6F #6FDFBA
tetradic
#BA6FDF #DF826F #94DF6F #6FCCDF
square
#BA6FDF #DF826F #94DF6F #6FCCDF
split-complementary
#BA6FDF #CCDF6F #6FDF82
monochromatic
#8126AD #A23DD4 #BA6FDF #D2A1EA #EAD3F5

Accessibility & contrast

On white

3.27
#BA6FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#BA6FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6FDF
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6FDF#FFFFFF#000000##000000
##BA6FDF1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#558AE3
Deuteranopia (green-blind)
#6C90DC
Tritanopia (blue-blind)
#B7819D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ba6fdf;
/* rgb */ color: rgb(186, 111, 223);
/* oklch */ color: oklch(66.8% 0.175 313.5);
Tailwind
colors: {
  custom: {
    50: '#d19be9',
    500: '#ba6fdf',
    950: '#000000',
  },
}
SCSS
$custom: #ba6fdf;
$custom-light: #d19be9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6fdf",
  "rgb": {
    "r": 186,
    "g": 111,
    "b": 223
  },
  "hsl": {
    "h": 280.179,
    "s": 63.636,
    "l": 65.49
  },
  "oklch": {
    "l": 0.66766,
    "c": 0.17494,
    "h": 313.5
  },
  "luminance": 0.27136
}

Semantic roles & 50–950 ramp

primary
#BA6FDF
secondary
#CFE8C2
accent
#CB1A55
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BA6FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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