#BA67DE#BA67DE

#BA67DE is a light, vivid purple. Relative luminance 0.254; OKLCH L 65.6% C 0.186 H 314.6°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#BA67DE
RGBrgb(186, 103, 222)
HSLhsl(282, 64%, 64%)
HSVhsv(282, 54%, 87%)
CMYKcmyk(16.2%, 53.6%, 0%, 12.9%)
CIE-LABlab(57.48, 52.54, -47.54)
CIE-LCHlch(57.48, 70.86, 317.86°)
OKLaboklab(65.55% 0.131 -0.1327)
OKLCHoklch(65.55% 0.186 314.6)
XYZxyz(38.2826, 25.4146, 71.9820)
Luminance0.2541 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA67DE #8BDE67
analogous
#7E67DE #BA67DE #DE67C6
triadic
#BA67DE #DEBA67 #67DEBA
tetradic
#BA67DE #DE7E67 #8BDE67 #67C6DE
square
#BA67DE #DE7E67 #8BDE67 #67C6DE
split-complementary
#BA67DE #C6DE67 #67DE7E
monochromatic
#7F24A6 #A335D3 #BA67DE #D199E9 #E8CCF4

Accessibility & contrast

On white

3.45
#BA67DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#BA67DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA67DE
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA67DE#FFFFFF#000000##000000
##BA67DE1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A85E2
Deuteranopia (green-blind)
#658CDB
Tritanopia (blue-blind)
#B77A99
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba67de;
/* rgb */ color: rgb(186, 103, 222);
/* oklch */ color: oklch(65.6% 0.186 314.6);
Tailwind
colors: {
  custom: {
    50: '#d195e9',
    500: '#ba67de',
    950: '#000000',
  },
}
SCSS
$custom: #ba67de;
$custom-light: #d195e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba67de",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 222
  },
  "hsl": {
    "h": 281.849,
    "s": 64.324,
    "l": 63.725
  },
  "oklch": {
    "l": 0.65551,
    "c": 0.18647,
    "h": 314.6
  },
  "luminance": 0.25414
}

Semantic roles & 50–950 ramp

primary
#BA67DE
secondary
#C8E5BB
accent
#CC194F
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BA67DE

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

Preview Lab → · Contrast checker → · Palette generator →

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