#BA66DD#BA66DD

#BA66DD is a light, vivid purple. Relative luminance 0.252; OKLCH L 65.4% C 0.187 H 315.0°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#BA66DD
RGBrgb(186, 102, 221)
HSLhsl(282, 64%, 63%)
HSVhsv(282, 54%, 87%)
CMYKcmyk(15.8%, 53.8%, 0%, 13.3%)
CIE-LABlab(57.23, 52.84, -47.37)
CIE-LCHlch(57.23, 70.96, 318.13°)
OKLaboklab(65.35% 0.1322 -0.1322)
OKLCHoklch(65.35% 0.187 315)
XYZxyz(38.0501, 25.1634, 71.2452)
Luminance0.2516 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA66DD #89DD66
analogous
#7E66DD #BA66DD #DD66C4
triadic
#BA66DD #DDBA66 #66DDBA
tetradic
#BA66DD #DD7E66 #89DD66 #66C4DD
square
#BA66DD #DD7E66 #89DD66 #66C4DD
split-complementary
#BA66DD #C4DD66 #66DD7E
monochromatic
#7F24A4 #A334D2 #BA66DD #D198E8 #E7CAF3

Accessibility & contrast

On white

3.48
#BA66DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#BA66DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA66DD
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA66DD#FFFFFF#000000##000000
##BA66DD1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4984E1
Deuteranopia (green-blind)
#658CDA
Tritanopia (blue-blind)
#B87998
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ba66dd;
/* rgb */ color: rgb(186, 102, 221);
/* oklch */ color: oklch(65.4% 0.187 315.0);
Tailwind
colors: {
  custom: {
    50: '#d195e8',
    500: '#ba66dd',
    950: '#000000',
  },
}
SCSS
$custom: #ba66dd;
$custom-light: #d195e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba66dd",
  "rgb": {
    "r": 186,
    "g": 102,
    "b": 221
  },
  "hsl": {
    "h": 282.353,
    "s": 63.636,
    "l": 63.333
  },
  "oklch": {
    "l": 0.65355,
    "c": 0.18697,
    "h": 315
  },
  "luminance": 0.25162
}

Semantic roles & 50–950 ramp

primary
#BA66DD
secondary
#C7E5BA
accent
#CB1A4E
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA66DD

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

Preview Lab → · Contrast checker → · Palette generator →

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