#BA67E2#BA67E2

#BA67E2 is a light, vivid purple. Relative luminance 0.256; OKLCH L 65.8% C 0.191 H 313.5°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#BA67E2
RGBrgb(186, 103, 226)
HSLhsl(280, 68%, 65%)
HSVhsv(280, 54%, 89%)
CMYKcmyk(17.7%, 54.4%, 0%, 11.4%)
CIE-LABlab(57.69, 53.38, -49.46)
CIE-LCHlch(57.69, 72.77, 317.18°)
OKLaboklab(65.77% 0.1313 -0.1383)
OKLCHoklch(65.77% 0.191 313.5)
XYZxyz(38.8251, 25.6316, 74.8389)
Luminance0.2563 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA67E2 #8FE267
analogous
#7D67E2 #BA67E2 #E267CC
triadic
#BA67E2 #E2BA67 #67E2BA
tetradic
#BA67E2 #E27D67 #8FE267 #67CCE2
square
#BA67E2 #E27D67 #8FE267 #67CCE2
split-complementary
#BA67E2 #CCE267 #67E27D
monochromatic
#8021AD #A334D8 #BA67E2 #D19AEC #E9CEF6

Accessibility & contrast

On white

3.43
#BA67E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#BA67E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA67E2
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA67E2#FFFFFF#000000##000000
##BA67E21.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4686E6
Deuteranopia (green-blind)
#638DDF
Tritanopia (blue-blind)
#B67C9B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba67e2;
/* rgb */ color: rgb(186, 103, 226);
/* oklch */ color: oklch(65.8% 0.191 313.5);
Tailwind
colors: {
  custom: {
    50: '#d196eb',
    500: '#ba67e2',
    950: '#000000',
  },
}
SCSS
$custom: #ba67e2;
$custom-light: #d196eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba67e2",
  "rgb": {
    "r": 186,
    "g": 103,
    "b": 226
  },
  "hsl": {
    "h": 280.488,
    "s": 67.956,
    "l": 64.51
  },
  "oklch": {
    "l": 0.65772,
    "c": 0.19067,
    "h": 313.5
  },
  "luminance": 0.25631
}

Semantic roles & 50–950 ramp

primary
#BA67E2
secondary
#CBE8BD
accent
#D01652
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BA67E2

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

Preview Lab → · Contrast checker → · Palette generator →

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