#BA66F6#BA66F6

#BA66F6 is a light, highly saturated violet. Relative luminance 0.266; OKLCH L 66.8% C 0.213 H 308.6°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#BA66F6
RGBrgb(186, 102, 246)
HSLhsl(275, 89%, 68%)
HSVhsv(275, 59%, 96%)
CMYKcmyk(24.4%, 58.5%, 0%, 3.5%)
CIE-LABlab(58.60, 58.18, -59.16)
CIE-LCHlch(58.60, 82.97, 314.52°)
OKLaboklab(66.8% 0.1332 -0.1666)
OKLCHoklch(66.8% 0.213 308.6)
XYZxyz(41.6323, 26.5963, 90.1113)
Luminance0.2660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA66F6 #A2F666
analogous
#7266F6 #BA66F6 #F666EA
triadic
#BA66F6 #F6BA66 #66F6BA
tetradic
#BA66F6 #F67266 #A2F666 #66EAF6
square
#BA66F6 #F67266 #A2F666 #66EAF6
split-complementary
#BA66F6 #EAF666 #66F672
monochromatic
#820DD5 #A02CF3 #BA66F6 #D4A0F9 #EEDAFD

Accessibility & contrast

On white

3.32
#BA66F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#BA66F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA66F6
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA66F6#FFFFFF#000000##000000
##BA66F61.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D89FB
Deuteranopia (green-blind)
#528EF3
Tritanopia (blue-blind)
#B181A5
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ba66f6;
/* rgb */ color: rgb(186, 102, 246);
/* oklch */ color: oklch(66.8% 0.213 308.6);
Tailwind
colors: {
  custom: {
    50: '#d295fa',
    500: '#ba66f6',
    950: '#000000',
  },
}
SCSS
$custom: #ba66f6;
$custom-light: #d295fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba66f6",
  "rgb": {
    "r": 186,
    "g": 102,
    "b": 246
  },
  "hsl": {
    "h": 275,
    "s": 88.889,
    "l": 68.235
  },
  "oklch": {
    "l": 0.66795,
    "c": 0.21331,
    "h": 308.6
  },
  "luminance": 0.26596
}

Semantic roles & 50–950 ramp

primary
#BA66F6
secondary
#D8F2C6
accent
#E60060
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA66F6

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

Preview Lab → · Contrast checker → · Palette generator →

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