#BA67D7#BA67D7

#BA67D7 is a light, vivid purple. Relative luminance 0.250; OKLCH L 65.2% C 0.179 H 316.7°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#BA67D7
RGBrgb(186, 103, 215)
HSLhsl(284, 58%, 62%)
HSVhsv(284, 52%, 84%)
CMYKcmyk(13.5%, 52.1%, 0%, 15.7%)
CIE-LABlab(57.12, 51.10, -44.16)
CIE-LCHlch(57.12, 67.54, 319.16°)
OKLaboklab(65.17% 0.1304 -0.1229)
OKLCHoklch(65.17% 0.179 316.7)
XYZxyz(37.3639, 25.0471, 67.1432)
Luminance0.2505 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA67D7 #84D767
analogous
#8267D7 #BA67D7 #D767BC
triadic
#BA67D7 #D7BA67 #67D7BA
tetradic
#BA67D7 #D78267 #84D767 #67BCD7
square
#BA67D7 #D78267 #84D767 #67BCD7
split-complementary
#BA67D7 #BCD767 #67D782
monochromatic
#7D299B #A437CA #BA67D7 #D097E4 #E6C8F0

Accessibility & contrast

On white

3.49
#BA67D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#BA67D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA67D7
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA67D7#FFFFFF#000000##000000
##BA67D71.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F84DB
Deuteranopia (green-blind)
#698CD4
Tritanopia (blue-blind)
#B97895
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ba67d7;
/* rgb */ color: rgb(186, 103, 215);
/* oklch */ color: oklch(65.2% 0.179 316.7);
Tailwind
colors: {
  custom: {
    50: '#d195e4',
    500: '#ba67d7',
    950: '#000000',
  },
}
SCSS
$custom: #ba67d7;
$custom-light: #d195e4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba67d7",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 215
  },
  "hsl": {
    "h": 284.464,
    "s": 58.333,
    "l": 62.353
  },
  "oklch": {
    "l": 0.65173,
    "c": 0.17916,
    "h": 316.7
  },
  "luminance": 0.25046
}

Semantic roles & 50–950 ramp

primary
#BA67D7
secondary
#C3E1B8
accent
#C6204B
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140D15
muted
#837E84

Preview Lab

Preview with #BA67D7

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

Preview Lab → · Contrast checker → · Palette generator →

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