#BA68FC#BA68FC

#BA68FC is a light, highly saturated violet. Relative luminance 0.274; OKLCH L 67.4% C 0.217 H 307.1°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#BA68FC
RGBrgb(186, 104, 252)
HSLhsl(273, 96%, 70%)
HSVhsv(273, 59%, 99%)
CMYKcmyk(26.2%, 58.7%, 0%, 1.2%)
CIE-LABlab(59.31, 58.51, -61.33)
CIE-LCHlch(59.31, 84.77, 313.65°)
OKLaboklab(67.43% 0.1307 -0.173)
OKLCHoklch(67.43% 0.217 307.1)
XYZxyz(42.7671, 27.3685, 95.1062)
Luminance0.2737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA68FC #AAFC68
analogous
#7068FC #BA68FC #FC68F4
triadic
#BA68FC #FCBA68 #68FCBA
tetradic
#BA68FC #FC7068 #AAFC68 #68F4FC
square
#BA68FC #FC7068 #AAFC68 #68F4FC
split-complementary
#BA68FC #F4FC68 #68FC70
monochromatic
#8105E5 #9F2CFB #BA68FC #D5A4FD #F1E0FE

Accessibility & contrast

On white

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

On black

6.47
#BA68FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA68FC
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA68FC#FFFFFF#000000##000000
##BA68FC1.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#288CFF
Deuteranopia (green-blind)
#4F8FF9
Tritanopia (blue-blind)
#B085A8
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #ba68fc;
/* rgb */ color: rgb(186, 104, 252);
/* oklch */ color: oklch(67.4% 0.217 307.1);
Tailwind
colors: {
  custom: {
    50: '#d297fe',
    500: '#ba68fc',
    950: '#000000',
  },
}
SCSS
$custom: #ba68fc;
$custom-light: #d297fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ba68fc",
  "rgb": {
    "r": 186,
    "g": 104,
    "b": 252
  },
  "hsl": {
    "h": 273.243,
    "s": 96.104,
    "l": 69.804
  },
  "oklch": {
    "l": 0.67428,
    "c": 0.21687,
    "h": 307.1
  },
  "luminance": 0.27368
}

Semantic roles & 50–950 ramp

primary
#BA68FC
secondary
#DEF5CB
accent
#E60066
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#150E18
muted
#837E86

Preview Lab

Preview with #BA68FC

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

Preview Lab → · Contrast checker → · Palette generator →

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