#BA66EE#BA66EE

#BA66EE is a light, highly saturated violet. Relative luminance 0.261; OKLCH L 66.3% C 0.205 H 310.5°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#BA66EE
RGBrgb(186, 102, 238)
HSLhsl(277, 80%, 67%)
HSVhsv(277, 57%, 93%)
CMYKcmyk(21.8%, 57.1%, 0%, 6.7%)
CIE-LABlab(58.15, 56.44, -55.43)
CIE-LCHlch(58.15, 79.11, 315.51°)
OKLaboklab(66.32% 0.1331 -0.1557)
OKLCHoklch(66.32% 0.205 310.5)
XYZxyz(40.4308, 26.1157, 83.7833)
Luminance0.2611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA66EE #9AEE66
analogous
#7666EE #BA66EE #EE66DE
triadic
#BA66EE #EEBA66 #66EEBA
tetradic
#BA66EE #EE7666 #9AEE66 #66DEEE
square
#BA66EE #EE7666 #9AEE66 #66DEEE
split-complementary
#BA66EE #DEEE66 #66EE76
monochromatic
#8116C4 #A12FE8 #BA66EE #D39DF4 #ECD4FA

Accessibility & contrast

On white

3.37
#BA66EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#BA66EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA66EE
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA66EE#FFFFFF#000000##000000
##BA66EE1.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3888F2
Deuteranopia (green-blind)
#598DEB
Tritanopia (blue-blind)
#B37FA1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ba66ee;
/* rgb */ color: rgb(186, 102, 238);
/* oklch */ color: oklch(66.3% 0.205 310.5);
Tailwind
colors: {
  custom: {
    50: '#d295f4',
    500: '#ba66ee',
    950: '#000000',
  },
}
SCSS
$custom: #ba66ee;
$custom-light: #d295f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba66ee",
  "rgb": {
    "r": 186,
    "g": 102,
    "b": 238
  },
  "hsl": {
    "h": 277.059,
    "s": 80,
    "l": 66.667
  },
  "oklch": {
    "l": 0.6632,
    "c": 0.20484,
    "h": 310.5
  },
  "luminance": 0.26115
}

Semantic roles & 50–950 ramp

primary
#BA66EE
secondary
#D3EEC2
accent
#DC095A
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA66EE

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

Preview Lab → · Contrast checker → · Palette generator →

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