#BA66F9#BA66F9

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

Color values

HEX#BA66F9
RGBrgb(186, 102, 249)
HSLhsl(274, 92%, 69%)
HSVhsv(274, 59%, 98%)
CMYKcmyk(25.3%, 59%, 0%, 2.4%)
CIE-LABlab(58.77, 58.84, -60.54)
CIE-LCHlch(58.77, 84.42, 314.18°)
OKLaboklab(66.98% 0.1331 -0.1707)
OKLCHoklch(66.98% 0.216 308)
XYZxyz(42.0965, 26.7820, 92.5559)
Luminance0.2678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA66F9 #A5F966
analogous
#7166F9 #BA66F9 #F966EE
triadic
#BA66F9 #F9BA66 #66F9BA
tetradic
#BA66F9 #F97166 #A5F966 #66EEF9
square
#BA66F9 #F97166 #A5F966 #66EEF9
split-complementary
#BA66F9 #EEF966 #66F971
monochromatic
#8109DC #9F2BF7 #BA66F9 #D5A1FB #EFDCFE

Accessibility & contrast

On white

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

On black

6.36
#BA66F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA66F9
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA66F9#FFFFFF#000000##000000
##BA66F91.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#278AFE
Deuteranopia (green-blind)
#4F8EF6
Tritanopia (blue-blind)
#B182A6
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ba66f9;
/* rgb */ color: rgb(186, 102, 249);
/* oklch */ color: oklch(67.0% 0.216 308.0);
Tailwind
colors: {
  custom: {
    50: '#d295fc',
    500: '#ba66f9',
    950: '#000000',
  },
}
SCSS
$custom: #ba66f9;
$custom-light: #d295fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba66f9",
  "rgb": {
    "r": 186,
    "g": 102,
    "b": 249
  },
  "hsl": {
    "h": 274.286,
    "s": 92.453,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66977,
    "c": 0.21648,
    "h": 308
  },
  "luminance": 0.26781
}

Semantic roles & 50–950 ramp

primary
#BA66F9
secondary
#DAF3C8
accent
#E60062
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #BA66F9

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

Preview Lab → · Contrast checker → · Palette generator →

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