#BA68E5#BA68E5

#BA68E5 is a light, vivid violet. Relative luminance 0.260; OKLCH L 66.1% C 0.192 H 312.6°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#BA68E5
RGBrgb(186, 104, 229)
HSLhsl(279, 71%, 65%)
HSVhsv(279, 55%, 90%)
CMYKcmyk(18.8%, 54.6%, 0%, 10.2%)
CIE-LABlab(58.03, 53.51, -50.59)
CIE-LCHlch(58.03, 73.63, 316.61°)
OKLaboklab(66.08% 0.1301 -0.1416)
OKLCHoklch(66.08% 0.192 312.6)
XYZxyz(39.3404, 25.9978, 77.0592)
Luminance0.2600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA68E5 #93E568
analogous
#7B68E5 #BA68E5 #E568D1
triadic
#BA68E5 #E5BA68 #68E5BA
tetradic
#BA68E5 #E57B68 #93E568 #68D1E5
square
#BA68E5 #E57B68 #93E568 #68D1E5
split-complementary
#BA68E5 #D1E568 #68E57B
monochromatic
#811FB4 #A234DC #BA68E5 #D29CEE #EAD0F7

Accessibility & contrast

On white

3.39
#BA68E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#BA68E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA68E5
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA68E5#FFFFFF#000000##000000
##BA68E51.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4587E9
Deuteranopia (green-blind)
#628DE2
Tritanopia (blue-blind)
#B67D9D
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba68e5;
/* rgb */ color: rgb(186, 104, 229);
/* oklch */ color: oklch(66.1% 0.192 312.6);
Tailwind
colors: {
  custom: {
    50: '#d196ee',
    500: '#ba68e5',
    950: '#000000',
  },
}
SCSS
$custom: #ba68e5;
$custom-light: #d196ee;
$custom-dark: #000000;
JSON
{
  "hex": "#ba68e5",
  "rgb": {
    "r": 186,
    "g": 104,
    "b": 229
  },
  "hsl": {
    "h": 279.36,
    "s": 70.621,
    "l": 65.294
  },
  "oklch": {
    "l": 0.6608,
    "c": 0.19232,
    "h": 312.6
  },
  "luminance": 0.25997
}

Semantic roles & 50–950 ramp

primary
#BA68E5
secondary
#CEE9BF
accent
#D31355
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BA68E5

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

Preview Lab → · Contrast checker → · Palette generator →

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