#BA68DD#BA68DD

#BA68DD is a light, vivid purple. Relative luminance 0.256; OKLCH L 65.6% C 0.184 H 314.8°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#BA68DD
RGBrgb(186, 104, 221)
HSLhsl(282, 63%, 64%)
HSVhsv(282, 53%, 87%)
CMYKcmyk(15.8%, 52.9%, 0%, 13.3%)
CIE-LABlab(57.62, 51.83, -46.76)
CIE-LCHlch(57.62, 69.80, 317.94°)
OKLaboklab(65.64% 0.1296 -0.1304)
OKLCHoklch(65.64% 0.184 314.8)
XYZxyz(38.2491, 25.5613, 71.3116)
Luminance0.2556 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA68DD #8BDD68
analogous
#7F68DD #BA68DD #DD68C5
triadic
#BA68DD #DDBA68 #68DDBA
tetradic
#BA68DD #DD7F68 #8BDD68 #68C5DD
square
#BA68DD #DD7F68 #8BDD68 #68C5DD
split-complementary
#BA68DD #C5DD68 #68DD7F
monochromatic
#7F25A5 #A336D2 #BA68DD #D19AE8 #E8CCF3

Accessibility & contrast

On white

3.44
#BA68DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#BA68DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA68DD
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA68DD#FFFFFF#000000##000000
##BA68DD1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C86E1
Deuteranopia (green-blind)
#678DDA
Tritanopia (blue-blind)
#B87B99
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba68dd;
/* rgb */ color: rgb(186, 104, 221);
/* oklch */ color: oklch(65.6% 0.184 314.8);
Tailwind
colors: {
  custom: {
    50: '#d196e8',
    500: '#ba68dd',
    950: '#000000',
  },
}
SCSS
$custom: #ba68dd;
$custom-light: #d196e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba68dd",
  "rgb": {
    "r": 186,
    "g": 104,
    "b": 221
  },
  "hsl": {
    "h": 282.051,
    "s": 63.243,
    "l": 63.725
  },
  "oklch": {
    "l": 0.65638,
    "c": 0.18386,
    "h": 314.8
  },
  "luminance": 0.2556
}

Semantic roles & 50–950 ramp

primary
#BA68DD
secondary
#C8E5BC
accent
#CB1A4F
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BA68DD

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

Preview Lab → · Contrast checker → · Palette generator →

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