#BA68E4#BA68E4

#BA68E4 is a light, vivid violet. Relative luminance 0.259; OKLCH L 66.0% C 0.191 H 312.9°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#BA68E4
RGBrgb(186, 104, 228)
HSLhsl(280, 70%, 65%)
HSVhsv(280, 54%, 89%)
CMYKcmyk(18.4%, 54.4%, 0%, 10.6%)
CIE-LABlab(57.98, 53.30, -50.11)
CIE-LCHlch(57.98, 73.15, 316.76°)
OKLaboklab(66.02% 0.1301 -0.1402)
OKLCHoklch(66.02% 0.191 312.9)
XYZxyz(39.2012, 25.9421, 76.3260)
Luminance0.2594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA68E4 #92E468
analogous
#7C68E4 #BA68E4 #E468D0
triadic
#BA68E4 #E4BA68 #68E4BA
tetradic
#BA68E4 #E47C68 #92E468 #68D0E4
square
#BA68E4 #E47C68 #92E468 #68D0E4
split-complementary
#BA68E4 #D0E468 #68E47C
monochromatic
#8020B2 #A234DB #BA68E4 #D29CED #E9D0F7

Accessibility & contrast

On white

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

On black

6.19
#BA68E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA68E4
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA68E4#FFFFFF#000000##000000
##BA68E41.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4687E8
Deuteranopia (green-blind)
#628DE1
Tritanopia (blue-blind)
#B67D9C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba68e4;
/* rgb */ color: rgb(186, 104, 228);
/* oklch */ color: oklch(66.0% 0.191 312.9);
Tailwind
colors: {
  custom: {
    50: '#d196ed',
    500: '#ba68e4',
    950: '#000000',
  },
}
SCSS
$custom: #ba68e4;
$custom-light: #d196ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ba68e4",
  "rgb": {
    "r": 186,
    "g": 104,
    "b": 228
  },
  "hsl": {
    "h": 279.677,
    "s": 69.663,
    "l": 65.098
  },
  "oklch": {
    "l": 0.66024,
    "c": 0.19126,
    "h": 312.9
  },
  "luminance": 0.25941
}

Semantic roles & 50–950 ramp

primary
#BA68E4
secondary
#CDE9BF
accent
#D21454
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BA68E4

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

Preview Lab → · Contrast checker → · Palette generator →

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