#BA67F5#BA67F5

#BA67F5 is a light, highly saturated violet. Relative luminance 0.267; OKLCH L 66.9% C 0.211 H 308.7°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#BA67F5
RGBrgb(186, 103, 245)
HSLhsl(275, 88%, 68%)
HSVhsv(275, 58%, 96%)
CMYKcmyk(24.1%, 58%, 0%, 3.9%)
CIE-LABlab(58.73, 57.46, -58.40)
CIE-LCHlch(58.73, 81.93, 314.54°)
OKLaboklab(66.87% 0.1319 -0.1644)
OKLCHoklch(66.87% 0.211 308.7)
XYZxyz(41.5781, 26.7328, 89.3381)
Luminance0.2673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA67F5 #A2F567
analogous
#7367F5 #BA67F5 #F567E9
triadic
#BA67F5 #F5BA67 #67F5BA
tetradic
#BA67F5 #F57367 #A2F567 #67E9F5
square
#BA67F5 #F57367 #A2F567 #67E9F5
split-complementary
#BA67F5 #E9F567 #67F573
monochromatic
#820ED4 #A02EF1 #BA67F5 #D4A0F9 #EEDAFD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA67F5#FFFFFF#000000##000000
##BA67F51.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)
#318AFA
Deuteranopia (green-blind)
#548EF2
Tritanopia (blue-blind)
#B282A4
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ba67f5;
/* rgb */ color: rgb(186, 103, 245);
/* oklch */ color: oklch(66.9% 0.211 308.7);
Tailwind
colors: {
  custom: {
    50: '#d296f9',
    500: '#ba67f5',
    950: '#000000',
  },
}
SCSS
$custom: #ba67f5;
$custom-light: #d296f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba67f5",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 245
  },
  "hsl": {
    "h": 275.07,
    "s": 87.654,
    "l": 68.235
  },
  "oklch": {
    "l": 0.6687,
    "c": 0.21081,
    "h": 308.7
  },
  "luminance": 0.26732
}

Semantic roles & 50–950 ramp

primary
#BA67F5
secondary
#D8F1C6
accent
#E40160
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA67F5

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

Preview Lab → · Contrast checker → · Palette generator →

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