#BA68DF#BA68DF

#BA68DF is a light, vivid purple. Relative luminance 0.257; OKLCH L 65.7% C 0.186 H 314.2°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#BA68DF
RGBrgb(186, 104, 223)
HSLhsl(281, 65%, 64%)
HSVhsv(281, 53%, 87%)
CMYKcmyk(16.6%, 53.4%, 0%, 12.5%)
CIE-LABlab(57.72, 52.24, -47.72)
CIE-LCHlch(57.72, 70.76, 317.59°)
OKLaboklab(65.75% 0.1297 -0.1332)
OKLCHoklch(65.75% 0.186 314.2)
XYZxyz(38.5171, 25.6685, 72.7233)
Luminance0.2567 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA68DF #8DDF68
analogous
#7F68DF #BA68DF #DF68C8
triadic
#BA68DF #DFBA68 #68DFBA
tetradic
#BA68DF #DF7F68 #8DDF68 #68C8DF
square
#BA68DF #DF7F68 #8DDF68 #68C8DF
split-complementary
#BA68DF #C8DF68 #68DF7F
monochromatic
#7F24A9 #A336D4 #BA68DF #D19BEA #E8CDF4

Accessibility & contrast

On white

3.42
#BA68DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#BA68DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA68DF
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA68DF#FFFFFF#000000##000000
##BA68DF1.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A86E3
Deuteranopia (green-blind)
#658DDC
Tritanopia (blue-blind)
#B77B9A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba68df;
/* rgb */ color: rgb(186, 104, 223);
/* oklch */ color: oklch(65.7% 0.186 314.2);
Tailwind
colors: {
  custom: {
    50: '#d196e9',
    500: '#ba68df',
    950: '#000000',
  },
}
SCSS
$custom: #ba68df;
$custom-light: #d196e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba68df",
  "rgb": {
    "r": 186,
    "g": 104,
    "b": 223
  },
  "hsl": {
    "h": 281.345,
    "s": 65.027,
    "l": 64.118
  },
  "oklch": {
    "l": 0.65747,
    "c": 0.18596,
    "h": 314.2
  },
  "luminance": 0.25667
}

Semantic roles & 50–950 ramp

primary
#BA68DF
secondary
#CAE6BD
accent
#CD1951
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BA68DF

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

Preview Lab → · Contrast checker → · Palette generator →

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