#BA66F5#BA66F5

#BA66F5 is a light, highly saturated violet. Relative luminance 0.265; OKLCH L 66.7% C 0.212 H 308.9°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#BA66F5
RGBrgb(186, 102, 245)
HSLhsl(275, 88%, 68%)
HSVhsv(275, 58%, 96%)
CMYKcmyk(24.1%, 58.4%, 0%, 3.9%)
CIE-LABlab(58.54, 57.96, -58.69)
CIE-LCHlch(58.54, 82.49, 314.64°)
OKLaboklab(66.74% 0.1332 -0.1653)
OKLCHoklch(66.74% 0.212 308.9)
XYZxyz(41.4792, 26.5351, 89.3052)
Luminance0.2653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA66F5 #A1F566
analogous
#7266F5 #BA66F5 #F566E8
triadic
#BA66F5 #F5BA66 #66F5BA
tetradic
#BA66F5 #F57266 #A1F566 #66E8F5
square
#BA66F5 #F57266 #A1F566 #66E8F5
split-complementary
#BA66F5 #E8F566 #66F572
monochromatic
#820ED3 #A02DF1 #BA66F5 #D49FF9 #EED9FD

Accessibility & contrast

On white

3.33
#BA66F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#BA66F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA66F5
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA66F5#FFFFFF#000000##000000
##BA66F51.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E89FA
Deuteranopia (green-blind)
#538EF2
Tritanopia (blue-blind)
#B281A4
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ba66f5;
/* rgb */ color: rgb(186, 102, 245);
/* oklch */ color: oklch(66.7% 0.212 308.9);
Tailwind
colors: {
  custom: {
    50: '#d295f9',
    500: '#ba66f5',
    950: '#000000',
  },
}
SCSS
$custom: #ba66f5;
$custom-light: #d295f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba66f5",
  "rgb": {
    "r": 186,
    "g": 102,
    "b": 245
  },
  "hsl": {
    "h": 275.245,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.66735,
    "c": 0.21225,
    "h": 308.9
  },
  "luminance": 0.26534
}

Semantic roles & 50–950 ramp

primary
#BA66F5
secondary
#D8F1C6
accent
#E4015F
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA66F5

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

Preview Lab → · Contrast checker → · Palette generator →

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