#BA66F4#BA66F4

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

Color values

HEX#BA66F4
RGBrgb(186, 102, 244)
HSLhsl(275, 87%, 68%)
HSVhsv(275, 58%, 96%)
CMYKcmyk(23.8%, 58.2%, 0%, 4.3%)
CIE-LABlab(58.48, 57.74, -58.23)
CIE-LCHlch(58.48, 82.00, 314.76°)
OKLaboklab(66.68% 0.1331 -0.1639)
OKLCHoklch(66.68% 0.211 309.1)
XYZxyz(41.3270, 26.4742, 88.5033)
Luminance0.2647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA66F4 #A0F466
analogous
#7366F4 #BA66F4 #F466E7
triadic
#BA66F4 #F4BA66 #66F4BA
tetradic
#BA66F4 #F47366 #A0F466 #66E7F4
square
#BA66F4 #F47366 #A0F466 #66E7F4
split-complementary
#BA66F4 #E7F466 #66F473
monochromatic
#820FD1 #A02DF0 #BA66F4 #D49FF8 #EDD8FC

Accessibility & contrast

On white

3.34
#BA66F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#BA66F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA66F4
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA66F4#FFFFFF#000000##000000
##BA66F41.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3089F9
Deuteranopia (green-blind)
#548EF1
Tritanopia (blue-blind)
#B281A4
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ba66f4;
/* rgb */ color: rgb(186, 102, 244);
/* oklch */ color: oklch(66.7% 0.211 309.1);
Tailwind
colors: {
  custom: {
    50: '#d295f8',
    500: '#ba66f4',
    950: '#000000',
  },
}
SCSS
$custom: #ba66f4;
$custom-light: #d295f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba66f4",
  "rgb": {
    "r": 186,
    "g": 102,
    "b": 244
  },
  "hsl": {
    "h": 275.493,
    "s": 86.585,
    "l": 67.843
  },
  "oklch": {
    "l": 0.66675,
    "c": 0.21119,
    "h": 309.1
  },
  "luminance": 0.26473
}

Semantic roles & 50–950 ramp

primary
#BA66F4
secondary
#D7F1C5
accent
#E3025E
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA66F4

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

Preview Lab → · Contrast checker → · Palette generator →

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