#BA67EE#BA67EE

#BA67EE is a light, highly saturated violet. Relative luminance 0.263; OKLCH L 66.5% C 0.203 H 310.4°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#BA67EE
RGBrgb(186, 103, 238)
HSLhsl(277, 80%, 67%)
HSVhsv(277, 57%, 93%)
CMYKcmyk(21.8%, 56.7%, 0%, 6.7%)
CIE-LABlab(58.33, 55.94, -55.13)
CIE-LCHlch(58.33, 78.54, 315.41°)
OKLaboklab(66.46% 0.1318 -0.1549)
OKLCHoklch(66.46% 0.203 310.4)
XYZxyz(40.5297, 26.3134, 83.8163)
Luminance0.2631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA67EE #9BEE67
analogous
#7767EE #BA67EE #EE67DF
triadic
#BA67EE #EEBA67 #67EEBA
tetradic
#BA67EE #EE7767 #9BEE67 #67DFEE
square
#BA67EE #EE7767 #9BEE67 #67DFEE
split-complementary
#BA67EE #DFEE67 #67EE77
monochromatic
#8116C5 #A130E8 #BA67EE #D39EF4 #ECD5FA

Accessibility & contrast

On white

3.35
#BA67EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#BA67EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA67EE
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA67EE#FFFFFF#000000##000000
##BA67EE1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A88F2
Deuteranopia (green-blind)
#5A8EEB
Tritanopia (blue-blind)
#B37FA1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ba67ee;
/* rgb */ color: rgb(186, 103, 238);
/* oklch */ color: oklch(66.5% 0.203 310.4);
Tailwind
colors: {
  custom: {
    50: '#d296f4',
    500: '#ba67ee',
    950: '#000000',
  },
}
SCSS
$custom: #ba67ee;
$custom-light: #d296f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba67ee",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 238
  },
  "hsl": {
    "h": 276.889,
    "s": 79.882,
    "l": 66.863
  },
  "oklch": {
    "l": 0.66456,
    "c": 0.20338,
    "h": 310.4
  },
  "luminance": 0.26313
}

Semantic roles & 50–950 ramp

primary
#BA67EE
secondary
#D3EEC3
accent
#DC095B
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140E17
muted
#837E85

Preview Lab

Preview with #BA67EE

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

Preview Lab → · Contrast checker → · Palette generator →

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