#BA66F1#BA66F1

#BA66F1 is a light, highly saturated violet. Relative luminance 0.263; OKLCH L 66.5% C 0.208 H 309.8°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#BA66F1
RGBrgb(186, 102, 241)
HSLhsl(276, 83%, 67%)
HSVhsv(276, 58%, 95%)
CMYKcmyk(22.8%, 57.7%, 0%, 5.5%)
CIE-LABlab(58.31, 57.09, -56.83)
CIE-LCHlch(58.31, 80.55, 315.13°)
OKLaboklab(66.5% 0.1331 -0.1598)
OKLCHoklch(66.5% 0.208 309.8)
XYZxyz(40.8752, 26.2935, 86.1239)
Luminance0.2629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA66F1 #9DF166
analogous
#7566F1 #BA66F1 #F166E3
triadic
#BA66F1 #F1BA66 #66F1BA
tetradic
#BA66F1 #F17566 #9DF166 #66E3F1
square
#BA66F1 #F17566 #9DF166 #66E3F1
split-complementary
#BA66F1 #E3F166 #66F175
monochromatic
#8112CA #A12EEC #BA66F1 #D39EF6 #EDD6FB

Accessibility & contrast

On white

3.36
#BA66F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#BA66F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA66F1
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA66F1#FFFFFF#000000##000000
##BA66F11.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3488F5
Deuteranopia (green-blind)
#578EEE
Tritanopia (blue-blind)
#B380A2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ba66f1;
/* rgb */ color: rgb(186, 102, 241);
/* oklch */ color: oklch(66.5% 0.208 309.8);
Tailwind
colors: {
  custom: {
    50: '#d295f6',
    500: '#ba66f1',
    950: '#000000',
  },
}
SCSS
$custom: #ba66f1;
$custom-light: #d295f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba66f1",
  "rgb": {
    "r": 186,
    "g": 102,
    "b": 241
  },
  "hsl": {
    "h": 276.259,
    "s": 83.234,
    "l": 67.255
  },
  "oklch": {
    "l": 0.66496,
    "c": 0.20802,
    "h": 309.8
  },
  "luminance": 0.26293
}

Semantic roles & 50–950 ramp

primary
#BA66F1
secondary
#D5EFC3
accent
#E0065C
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA66F1

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

Preview Lab → · Contrast checker → · Palette generator →

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