#BA68DE#BA68DE

#BA68DE is a light, vivid purple. Relative luminance 0.256; OKLCH L 65.7% C 0.185 H 314.5°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#BA68DE
RGBrgb(186, 104, 222)
HSLhsl(282, 64%, 64%)
HSVhsv(282, 53%, 87%)
CMYKcmyk(16.2%, 53.2%, 0%, 12.9%)
CIE-LABlab(57.67, 52.03, -47.24)
CIE-LCHlch(57.67, 70.28, 317.77°)
OKLaboklab(65.69% 0.1296 -0.1318)
OKLCHoklch(65.69% 0.185 314.5)
XYZxyz(38.3827, 25.6148, 72.0153)
Luminance0.2561 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA68DE #8CDE68
analogous
#7F68DE #BA68DE #DE68C7
triadic
#BA68DE #DEBA68 #68DEBA
tetradic
#BA68DE #DE7F68 #8CDE68 #68C7DE
square
#BA68DE #DE7F68 #8CDE68 #68C7DE
split-complementary
#BA68DE #C7DE68 #68DE7F
monochromatic
#7F25A7 #A336D3 #BA68DE #D19AE9 #E8CCF4

Accessibility & contrast

On white

3.43
#BA68DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#BA68DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA68DE
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA68DE#FFFFFF#000000##000000
##BA68DE1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B86E2
Deuteranopia (green-blind)
#668DDB
Tritanopia (blue-blind)
#B77B99
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba68de;
/* rgb */ color: rgb(186, 104, 222);
/* oklch */ color: oklch(65.7% 0.185 314.5);
Tailwind
colors: {
  custom: {
    50: '#d196e9',
    500: '#ba68de',
    950: '#000000',
  },
}
SCSS
$custom: #ba68de;
$custom-light: #d196e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba68de",
  "rgb": {
    "r": 186,
    "g": 104,
    "b": 222
  },
  "hsl": {
    "h": 281.695,
    "s": 64.13,
    "l": 63.922
  },
  "oklch": {
    "l": 0.65692,
    "c": 0.18491,
    "h": 314.5
  },
  "luminance": 0.25614
}

Semantic roles & 50–950 ramp

primary
#BA68DE
secondary
#C9E6BC
accent
#CC1A50
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BA68DE

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

Preview Lab → · Contrast checker → · Palette generator →

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