#BA6BCD#BA6BCD

#BA6BCD is a light, vivid purple. Relative luminance 0.254; OKLCH L 65.2% C 0.162 H 319.6°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#BA6BCD
RGBrgb(186, 107, 205)
HSLhsl(288, 49%, 61%)
HSVhsv(288, 48%, 80%)
CMYKcmyk(9.3%, 47.8%, 0%, 19.6%)
CIE-LABlab(57.43, 47.01, -38.02)
CIE-LCHlch(57.43, 60.46, 321.04°)
OKLaboklab(65.24% 0.1236 -0.1051)
OKLCHoklch(65.24% 0.162 319.6)
XYZxyz(36.5254, 25.3636, 60.7174)
Luminance0.2536 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6BCD #7ECD6B
analogous
#896BCD #BA6BCD #CD6BAF
triadic
#BA6BCD #CDBA6B #6BCDBA
tetradic
#BA6BCD #CD896B #7ECD6B #6BAFCD
square
#BA6BCD #CD896B #7ECD6B #6BAFCD
split-complementary
#BA6BCD #AFCD6B #6BCD89
monochromatic
#7C308E #A33FBB #BA6BCD #CF99DC #E5C6EC

Accessibility & contrast

On white

3.46
#BA6BCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#BA6BCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6BCD
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6BCD#FFFFFF#000000##000000
##BA6BCD1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B84D0
Deuteranopia (green-blind)
#728DCA
Tritanopia (blue-blind)
#BB7892
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba6bcd;
/* rgb */ color: rgb(186, 107, 205);
/* oklch */ color: oklch(65.2% 0.162 319.6);
Tailwind
colors: {
  custom: {
    50: '#d198dc',
    500: '#ba6bcd',
    950: '#000000',
  },
}
SCSS
$custom: #ba6bcd;
$custom-light: #d198dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6bcd",
  "rgb": {
    "r": 186,
    "g": 107,
    "b": 205
  },
  "hsl": {
    "h": 288.367,
    "s": 49.495,
    "l": 61.176
  },
  "oklch": {
    "l": 0.65242,
    "c": 0.16229,
    "h": 319.6
  },
  "luminance": 0.25362
}

Semantic roles & 50–950 ramp

primary
#BA6BCD
secondary
#BFDCB8
accent
#BD2945
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140E15
muted
#837E83

Preview Lab

Preview with #BA6BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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