#BA68FD#BA68FD

#BA68FD is a light, highly saturated violet. Relative luminance 0.274; OKLCH L 67.5% C 0.218 H 306.9°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#BA68FD
RGBrgb(186, 104, 253)
HSLhsl(273, 97%, 70%)
HSVhsv(273, 59%, 99%)
CMYKcmyk(26.5%, 58.9%, 0%, 0.8%)
CIE-LABlab(59.37, 58.74, -61.79)
CIE-LCHlch(59.37, 85.25, 313.55°)
OKLaboklab(67.49% 0.1307 -0.1744)
OKLCHoklch(67.49% 0.218 306.9)
XYZxyz(42.9259, 27.4320, 95.9430)
Luminance0.2743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA68FD #ABFD68
analogous
#6F68FD #BA68FD #FD68F6
triadic
#BA68FD #FDBA68 #68FDBA
tetradic
#BA68FD #FD6F68 #ABFD68 #68F6FD
square
#BA68FD #FD6F68 #ABFD68 #68F6FD
split-complementary
#BA68FD #F6FD68 #68FD6F
monochromatic
#8103E8 #9E2CFC #BA68FD #D6A4FE #F1E1FF

Accessibility & contrast

On white

3.24
#BA68FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#BA68FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA68FD
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA68FD#FFFFFF#000000##000000
##BA68FD1.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#268CFF
Deuteranopia (green-blind)
#4E90FA
Tritanopia (blue-blind)
#AF85A9
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ba68fd;
/* rgb */ color: rgb(186, 104, 253);
/* oklch */ color: oklch(67.5% 0.218 306.9);
Tailwind
colors: {
  custom: {
    50: '#d397ff',
    500: '#ba68fd',
    950: '#000000',
  },
}
SCSS
$custom: #ba68fd;
$custom-light: #d397ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba68fd",
  "rgb": {
    "r": 186,
    "g": 104,
    "b": 253
  },
  "hsl": {
    "h": 273.02,
    "s": 97.386,
    "l": 70
  },
  "oklch": {
    "l": 0.67489,
    "c": 0.21793,
    "h": 306.9
  },
  "luminance": 0.27432
}

Semantic roles & 50–950 ramp

primary
#BA68FD
secondary
#DEF5CC
accent
#E60067
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #BA68FD

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

Preview Lab → · Contrast checker → · Palette generator →

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