#BA67F7#BA67F7

#BA67F7 is a light, highly saturated violet. Relative luminance 0.269; OKLCH L 67.0% C 0.213 H 308.3°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#BA67F7
RGBrgb(186, 103, 247)
HSLhsl(275, 90%, 69%)
HSVhsv(275, 58%, 97%)
CMYKcmyk(24.7%, 58.3%, 0%, 3.1%)
CIE-LABlab(58.84, 57.90, -59.32)
CIE-LCHlch(58.84, 82.90, 314.31°)
OKLaboklab(66.99% 0.1319 -0.1671)
OKLCHoklch(66.99% 0.213 308.3)
XYZxyz(41.8851, 26.8556, 90.9548)
Luminance0.2686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA67F7 #A4F767
analogous
#7267F7 #BA67F7 #F767EC
triadic
#BA67F7 #F7BA67 #67F7BA
tetradic
#BA67F7 #F77267 #A4F767 #67ECF7
square
#BA67F7 #F77267 #A4F767 #67ECF7
split-complementary
#BA67F7 #ECF767 #67F772
monochromatic
#810BD8 #A02DF4 #BA67F7 #D4A1FA #EFDBFD

Accessibility & contrast

On white

3.30
#BA67F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#BA67F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA67F7
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA67F7#FFFFFF#000000##000000
##BA67F71.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E8AFC
Deuteranopia (green-blind)
#528FF4
Tritanopia (blue-blind)
#B182A5
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #ba67f7;
/* rgb */ color: rgb(186, 103, 247);
/* oklch */ color: oklch(67.0% 0.213 308.3);
Tailwind
colors: {
  custom: {
    50: '#d296fa',
    500: '#ba67f7',
    950: '#000000',
  },
}
SCSS
$custom: #ba67f7;
$custom-light: #d296fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba67f7",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 247
  },
  "hsl": {
    "h": 274.583,
    "s": 90,
    "l": 68.627
  },
  "oklch": {
    "l": 0.6699,
    "c": 0.21294,
    "h": 308.3
  },
  "luminance": 0.26855
}

Semantic roles & 50–950 ramp

primary
#BA67F7
secondary
#DAF2C7
accent
#E60061
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA67F7

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

Preview Lab → · Contrast checker → · Palette generator →

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