#BA66CD#BA66CD

#BA66CD is a light, vivid purple. Relative luminance 0.243; OKLCH L 64.5% C 0.170 H 320.0°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#BA66CD
RGBrgb(186, 102, 205)
HSLhsl(289, 51%, 60%)
HSVhsv(289, 50%, 80%)
CMYKcmyk(9.3%, 50.2%, 0%, 19.6%)
CIE-LABlab(56.44, 49.60, -39.57)
CIE-LCHlch(56.44, 63.45, 321.41°)
OKLaboklab(64.51% 0.1306 -0.1096)
OKLCHoklch(64.51% 0.17 320)
XYZxyz(36.0192, 24.3510, 60.5487)
Luminance0.2435 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA66CD #79CD66
analogous
#8666CD #BA66CD #CD66AC
triadic
#BA66CD #CDBA66 #66CDBA
tetradic
#BA66CD #CD8666 #79CD66 #66ACCD
square
#BA66CD #CD8666 #79CD66 #66ACCD
split-complementary
#BA66CD #ACCD66 #66CD86
monochromatic
#7A2D8B #A23DB9 #BA66CD #CF94DC #E4C2EB

Accessibility & contrast

On white

3.58
#BA66CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#BA66CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA66CD
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA66CD#FFFFFF#000000##000000
##BA66CD1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5481D0
Deuteranopia (green-blind)
#6E8ACA
Tritanopia (blue-blind)
#BB7490
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ba66cd;
/* rgb */ color: rgb(186, 102, 205);
/* oklch */ color: oklch(64.5% 0.170 320.0);
Tailwind
colors: {
  custom: {
    50: '#d195dc',
    500: '#ba66cd',
    950: '#000000',
  },
}
SCSS
$custom: #ba66cd;
$custom-light: #d195dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba66cd",
  "rgb": {
    "r": 186,
    "g": 102,
    "b": 205
  },
  "hsl": {
    "h": 288.932,
    "s": 50.739,
    "l": 60.196
  },
  "oklch": {
    "l": 0.64508,
    "c": 0.17049,
    "h": 320
  },
  "luminance": 0.2435
}

Semantic roles & 50–950 ramp

primary
#BA66CD
secondary
#BBDBB4
accent
#BE2743
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #BA66CD

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

Preview Lab → · Contrast checker → · Palette generator →

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