#BA69EC#BA69EC

#BA69EC is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.6% C 0.198 H 310.7°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#BA69EC
RGBrgb(186, 105, 236)
HSLhsl(277, 78%, 67%)
HSVhsv(277, 56%, 93%)
CMYKcmyk(21.2%, 55.5%, 0%, 7.5%)
CIE-LABlab(58.60, 54.50, -53.59)
CIE-LCHlch(58.60, 76.44, 315.48°)
OKLaboklab(66.62% 0.1292 -0.1504)
OKLCHoklch(66.62% 0.198 310.7)
XYZxyz(40.4388, 26.5992, 82.3445)
Luminance0.2660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA69EC #9BEC69
analogous
#7969EC #BA69EC #EC69DD
triadic
#BA69EC #ECBA69 #69ECBA
tetradic
#BA69EC #EC7969 #9BEC69 #69DDEC
square
#BA69EC #EC7969 #9BEC69 #69DDEC
split-complementary
#BA69EC #DDEC69 #69EC79
monochromatic
#8119C2 #A133E5 #BA69EC #D39FF3 #ECD6FA

Accessibility & contrast

On white

3.32
#BA69EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#BA69EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA69EC
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA69EC#FFFFFF#000000##000000
##BA69EC1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4089F0
Deuteranopia (green-blind)
#5E8EE9
Tritanopia (blue-blind)
#B480A1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ba69ec;
/* rgb */ color: rgb(186, 105, 236);
/* oklch */ color: oklch(66.6% 0.198 310.7);
Tailwind
colors: {
  custom: {
    50: '#d297f3',
    500: '#ba69ec',
    950: '#000000',
  },
}
SCSS
$custom: #ba69ec;
$custom-light: #d297f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba69ec",
  "rgb": {
    "r": 186,
    "g": 105,
    "b": 236
  },
  "hsl": {
    "h": 277.099,
    "s": 77.515,
    "l": 66.863
  },
  "oklch": {
    "l": 0.66617,
    "c": 0.19827,
    "h": 310.7
  },
  "luminance": 0.26598
}

Semantic roles & 50–950 ramp

primary
#BA69EC
secondary
#D3EDC3
accent
#DA0C5A
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA69EC

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

Preview Lab → · Contrast checker → · Palette generator →

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