#BA66FA#BA66FA

#BA66FA is a light, highly saturated violet. Relative luminance 0.268; OKLCH L 67.0% C 0.218 H 307.7°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#BA66FA
RGBrgb(186, 102, 250)
HSLhsl(274, 94%, 69%)
HSVhsv(274, 59%, 98%)
CMYKcmyk(25.6%, 59.2%, 0%, 2%)
CIE-LABlab(58.83, 59.06, -61.00)
CIE-LCHlch(58.83, 84.90, 314.07°)
OKLaboklab(67.04% 0.1331 -0.172)
OKLCHoklch(67.04% 0.218 307.7)
XYZxyz(42.2529, 26.8445, 93.3796)
Luminance0.2684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA66FA #A6FA66
analogous
#7066FA #BA66FA #FA66F0
triadic
#BA66FA #FABA66 #66FABA
tetradic
#BA66FA #FA7066 #A6FA66 #66F0FA
square
#BA66FA #FA7066 #A6FA66 #66F0FA
split-complementary
#BA66FA #F0FA66 #66FA70
monochromatic
#8107DE #9F2BF8 #BA66FA #D5A1FC #EFDDFE

Accessibility & contrast

On white

3.30
#BA66FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#BA66FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA66FA
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA66FA#FFFFFF#000000##000000
##BA66FA1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#258AFF
Deuteranopia (green-blind)
#4E8EF7
Tritanopia (blue-blind)
#B083A7
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ba66fa;
/* rgb */ color: rgb(186, 102, 250);
/* oklch */ color: oklch(67.0% 0.218 307.7);
Tailwind
colors: {
  custom: {
    50: '#d295fd',
    500: '#ba66fa',
    950: '#000000',
  },
}
SCSS
$custom: #ba66fa;
$custom-light: #d295fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba66fa",
  "rgb": {
    "r": 186,
    "g": 102,
    "b": 250
  },
  "hsl": {
    "h": 274.054,
    "s": 93.671,
    "l": 69.02
  },
  "oklch": {
    "l": 0.67038,
    "c": 0.21754,
    "h": 307.7
  },
  "luminance": 0.26844
}

Semantic roles & 50–950 ramp

primary
#BA66FA
secondary
#DBF4C8
accent
#E60063
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #BA66FA

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

Preview Lab → · Contrast checker → · Palette generator →

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