#BA68F2#BA68F2

#BA68F2 is a light, highly saturated violet. Relative luminance 0.268; OKLCH L 66.8% C 0.206 H 309.3°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#BA68F2
RGBrgb(186, 104, 242)
HSLhsl(276, 84%, 68%)
HSVhsv(276, 57%, 95%)
CMYKcmyk(23.1%, 57%, 0%, 5.1%)
CIE-LABlab(58.74, 56.31, -56.71)
CIE-LCHlch(58.74, 79.91, 314.80°)
OKLaboklab(66.83% 0.1307 -0.1595)
OKLCHoklch(66.83% 0.206 309.3)
XYZxyz(41.2239, 26.7512, 86.9790)
Luminance0.2675 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA68F2 #A0F268
analogous
#7568F2 #BA68F2 #F268E5
triadic
#BA68F2 #F2BA68 #68F2BA
tetradic
#BA68F2 #F27568 #A0F268 #68E5F2
square
#BA68F2 #F27568 #A0F268 #68E5F2
split-complementary
#BA68F2 #E5F268 #68F275
monochromatic
#8212CE #A030ED #BA68F2 #D4A0F7 #EDD9FC

Accessibility & contrast

On white

3.31
#BA68F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#BA68F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA68F2
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA68F2#FFFFFF#000000##000000
##BA68F21.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#378AF6
Deuteranopia (green-blind)
#588FEF
Tritanopia (blue-blind)
#B282A3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ba68f2;
/* rgb */ color: rgb(186, 104, 242);
/* oklch */ color: oklch(66.8% 0.206 309.3);
Tailwind
colors: {
  custom: {
    50: '#d296f7',
    500: '#ba68f2',
    950: '#000000',
  },
}
SCSS
$custom: #ba68f2;
$custom-light: #d296f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba68f2",
  "rgb": {
    "r": 186,
    "g": 104,
    "b": 242
  },
  "hsl": {
    "h": 275.652,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.66828,
    "c": 0.20618,
    "h": 309.3
  },
  "luminance": 0.26751
}

Semantic roles & 50–950 ramp

primary
#BA68F2
secondary
#D7F0C6
accent
#E1055E
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA68F2

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

Preview Lab → · Contrast checker → · Palette generator →

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