#BA66DF#BA66DF

#BA66DF is a light, vivid purple. Relative luminance 0.253; OKLCH L 65.5% C 0.189 H 314.4°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#BA66DF
RGBrgb(186, 102, 223)
HSLhsl(282, 65%, 64%)
HSVhsv(282, 54%, 87%)
CMYKcmyk(16.6%, 54.3%, 0%, 12.5%)
CIE-LABlab(57.34, 53.25, -48.33)
CIE-LCHlch(57.34, 71.91, 317.78°)
OKLaboklab(65.46% 0.1324 -0.135)
OKLCHoklch(65.46% 0.189 314.4)
XYZxyz(38.3182, 25.2707, 72.6569)
Luminance0.2527 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA66DF #8BDF66
analogous
#7D66DF #BA66DF #DF66C7
triadic
#BA66DF #DFBA66 #66DFBA
tetradic
#BA66DF #DF7D66 #8BDF66 #66C7DF
square
#BA66DF #DF7D66 #8BDF66 #66C7DF
split-complementary
#BA66DF #C7DF66 #66DF7D
monochromatic
#7F23A8 #A333D4 #BA66DF #D199EA #E8CBF4

Accessibility & contrast

On white

3.47
#BA66DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#BA66DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA66DF
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA66DF#FFFFFF#000000##000000
##BA66DF1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4785E3
Deuteranopia (green-blind)
#648CDC
Tritanopia (blue-blind)
#B77A99
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba66df;
/* rgb */ color: rgb(186, 102, 223);
/* oklch */ color: oklch(65.5% 0.189 314.4);
Tailwind
colors: {
  custom: {
    50: '#d195e9',
    500: '#ba66df',
    950: '#000000',
  },
}
SCSS
$custom: #ba66df;
$custom-light: #d195e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba66df",
  "rgb": {
    "r": 186,
    "g": 102,
    "b": 223
  },
  "hsl": {
    "h": 281.653,
    "s": 65.405,
    "l": 63.725
  },
  "oklch": {
    "l": 0.65465,
    "c": 0.18905,
    "h": 314.4
  },
  "luminance": 0.2527
}

Semantic roles & 50–950 ramp

primary
#BA66DF
secondary
#C8E6BB
accent
#CD1850
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA66DF

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

Preview Lab → · Contrast checker → · Palette generator →

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