#BA66E4#BA66E4

#BA66E4 is a light, vivid purple. Relative luminance 0.255; OKLCH L 65.7% C 0.194 H 313.1°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#BA66E4
RGBrgb(186, 102, 228)
HSLhsl(280, 70%, 65%)
HSVhsv(280, 55%, 89%)
CMYKcmyk(18.4%, 55.3%, 0%, 10.6%)
CIE-LABlab(57.60, 54.30, -50.71)
CIE-LCHlch(57.60, 74.30, 316.96°)
OKLaboklab(65.74% 0.1327 -0.142)
OKLCHoklch(65.74% 0.194 313.1)
XYZxyz(39.0023, 25.5443, 76.2597)
Luminance0.2554 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA66E4 #90E466
analogous
#7B66E4 #BA66E4 #E466CF
triadic
#BA66E4 #E4BA66 #66E4BA
tetradic
#BA66E4 #E47B66 #90E466 #66CFE4
square
#BA66E4 #E47B66 #90E466 #66CFE4
split-complementary
#BA66E4 #CFE466 #66E47B
monochromatic
#801FB0 #A332DB #BA66E4 #D19AED #E9CEF6

Accessibility & contrast

On white

3.44
#BA66E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#BA66E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA66E4
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA66E4#FFFFFF#000000##000000
##BA66E41.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4386E8
Deuteranopia (green-blind)
#608CE1
Tritanopia (blue-blind)
#B67B9B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba66e4;
/* rgb */ color: rgb(186, 102, 228);
/* oklch */ color: oklch(65.7% 0.194 313.1);
Tailwind
colors: {
  custom: {
    50: '#d195ed',
    500: '#ba66e4',
    950: '#000000',
  },
}
SCSS
$custom: #ba66e4;
$custom-light: #d195ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ba66e4",
  "rgb": {
    "r": 186,
    "g": 102,
    "b": 228
  },
  "hsl": {
    "h": 280,
    "s": 70,
    "l": 64.706
  },
  "oklch": {
    "l": 0.65744,
    "c": 0.1943,
    "h": 313.1
  },
  "luminance": 0.25543
}

Semantic roles & 50–950 ramp

primary
#BA66E4
secondary
#CCE9BD
accent
#D21453
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA66E4

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

Preview Lab → · Contrast checker → · Palette generator →

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