#BA67F2#BA67F2

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

Color values

HEX#BA67F2
RGBrgb(186, 103, 242)
HSLhsl(276, 84%, 68%)
HSVhsv(276, 57%, 95%)
CMYKcmyk(23.1%, 57.4%, 0%, 5.1%)
CIE-LABlab(58.56, 56.81, -57.00)
CIE-LCHlch(58.56, 80.48, 314.90°)
OKLaboklab(66.69% 0.1319 -0.1603)
OKLCHoklch(66.69% 0.208 309.4)
XYZxyz(41.1239, 26.5511, 86.9457)
Luminance0.2655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA67F2 #9FF267
analogous
#7467F2 #BA67F2 #F267E5
triadic
#BA67F2 #F2BA67 #67F2BA
tetradic
#BA67F2 #F27467 #9FF267 #67E5F2
square
#BA67F2 #F27467 #9FF267 #67E5F2
split-complementary
#BA67F2 #E5F267 #67F274
monochromatic
#8212CD #A02FED #BA67F2 #D49FF7 #EDD8FC

Accessibility & contrast

On white

3.33
#BA67F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#BA67F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA67F2
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA67F2#FFFFFF#000000##000000
##BA67F21.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3589F6
Deuteranopia (green-blind)
#578EEF
Tritanopia (blue-blind)
#B281A3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ba67f2;
/* rgb */ color: rgb(186, 103, 242);
/* oklch */ color: oklch(66.7% 0.208 309.4);
Tailwind
colors: {
  custom: {
    50: '#d296f7',
    500: '#ba67f2',
    950: '#000000',
  },
}
SCSS
$custom: #ba67f2;
$custom-light: #d296f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba67f2",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 242
  },
  "hsl": {
    "h": 275.827,
    "s": 84.242,
    "l": 67.647
  },
  "oklch": {
    "l": 0.66691,
    "c": 0.20763,
    "h": 309.4
  },
  "luminance": 0.2655
}

Semantic roles & 50–950 ramp

primary
#BA67F2
secondary
#D6F0C5
accent
#E1055D
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA67F2

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

Preview Lab → · Contrast checker → · Palette generator →

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