#BA68EE#BA68EE

#BA68EE is a light, highly saturated violet. Relative luminance 0.265; OKLCH L 66.6% C 0.202 H 310.3°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#BA68EE
RGBrgb(186, 104, 238)
HSLhsl(277, 80%, 67%)
HSVhsv(277, 56%, 93%)
CMYKcmyk(21.8%, 56.3%, 0%, 6.7%)
CIE-LABlab(58.52, 55.44, -54.84)
CIE-LCHlch(58.52, 77.98, 315.31°)
OKLaboklab(66.59% 0.1306 -0.154)
OKLCHoklch(66.59% 0.202 310.3)
XYZxyz(40.6297, 26.5136, 83.8496)
Luminance0.2651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA68EE #9CEE68
analogous
#7768EE #BA68EE #EE68DF
triadic
#BA68EE #EEBA68 #68EEBA
tetradic
#BA68EE #EE7768 #9CEE68 #68DFEE
square
#BA68EE #EE7768 #9CEE68 #68DFEE
split-complementary
#BA68EE #DFEE68 #68EE77
monochromatic
#8116C5 #A131E8 #BA68EE #D39FF4 #ECD6FA

Accessibility & contrast

On white

3.33
#BA68EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#BA68EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA68EE
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA68EE#FFFFFF#000000##000000
##BA68EE1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C89F2
Deuteranopia (green-blind)
#5B8EEB
Tritanopia (blue-blind)
#B380A1
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ba68ee;
/* rgb */ color: rgb(186, 104, 238);
/* oklch */ color: oklch(66.6% 0.202 310.3);
Tailwind
colors: {
  custom: {
    50: '#d296f4',
    500: '#ba68ee',
    950: '#000000',
  },
}
SCSS
$custom: #ba68ee;
$custom-light: #d296f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba68ee",
  "rgb": {
    "r": 186,
    "g": 104,
    "b": 238
  },
  "hsl": {
    "h": 276.716,
    "s": 79.762,
    "l": 67.059
  },
  "oklch": {
    "l": 0.66594,
    "c": 0.2019,
    "h": 310.3
  },
  "luminance": 0.26513
}

Semantic roles & 50–950 ramp

primary
#BA68EE
secondary
#D4EEC4
accent
#DC095B
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA68EE

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

Preview Lab → · Contrast checker → · Palette generator →

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