#BA68F0#BA68F0

#BA68F0 is a light, highly saturated violet. Relative luminance 0.266; OKLCH L 66.7% C 0.204 H 309.8°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#BA68F0
RGBrgb(186, 104, 240)
HSLhsl(276, 82%, 67%)
HSVhsv(276, 57%, 94%)
CMYKcmyk(22.5%, 56.7%, 0%, 5.9%)
CIE-LABlab(58.63, 55.87, -55.77)
CIE-LCHlch(58.63, 78.94, 315.05°)
OKLaboklab(66.71% 0.1306 -0.1567)
OKLCHoklch(66.71% 0.204 309.8)
XYZxyz(40.9252, 26.6317, 85.4057)
Luminance0.2663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA68F0 #9EF068
analogous
#7668F0 #BA68F0 #F068E2
triadic
#BA68F0 #F0BA68 #68F0BA
tetradic
#BA68F0 #F07668 #9EF068 #68E2F0
square
#BA68F0 #F07668 #9EF068 #68E2F0
split-complementary
#BA68F0 #E2F068 #68F076
monochromatic
#8114CA #A130EA #BA68F0 #D3A0F6 #EDD7FB

Accessibility & contrast

On white

3.32
#BA68F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#BA68F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA68F0
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA68F0#FFFFFF#000000##000000
##BA68F01.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A89F4
Deuteranopia (green-blind)
#598EED
Tritanopia (blue-blind)
#B381A2
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ba68f0;
/* rgb */ color: rgb(186, 104, 240);
/* oklch */ color: oklch(66.7% 0.204 309.8);
Tailwind
colors: {
  custom: {
    50: '#d296f5',
    500: '#ba68f0',
    950: '#000000',
  },
}
SCSS
$custom: #ba68f0;
$custom-light: #d296f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba68f0",
  "rgb": {
    "r": 186,
    "g": 104,
    "b": 240
  },
  "hsl": {
    "h": 276.176,
    "s": 81.928,
    "l": 67.451
  },
  "oklch": {
    "l": 0.6671,
    "c": 0.20404,
    "h": 309.8
  },
  "luminance": 0.26631
}

Semantic roles & 50–950 ramp

primary
#BA68F0
secondary
#D6EFC5
accent
#DE075D
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA68F0

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

Preview Lab → · Contrast checker → · Palette generator →

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