#BA6BBD#BA6BBD

#BA6BBD is a light, vivid purple. Relative luminance 0.246; OKLCH L 64.5% C 0.146 H 325.8°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#BA6BBD
RGBrgb(186, 107, 189)
HSLhsl(298, 38%, 58%)
HSVhsv(298, 43%, 74%)
CMYKcmyk(1.6%, 43.4%, 0%, 25.9%)
CIE-LABlab(56.71, 43.91, -30.02)
CIE-LCHlch(56.71, 53.19, 325.64°)
OKLaboklab(64.48% 0.1209 -0.0822)
OKLCHoklch(64.48% 0.146 325.8)
XYZxyz(34.6919, 24.6302, 51.0610)
Luminance0.2463 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA6BBD #6EBD6B
analogous
#916BBD #BA6BBD #BD6B97
triadic
#BA6BBD #BDBA6B #6BBDBA
tetradic
#BA6BBD #BD916B #6EBD6B #6B97BD
square
#BA6BBD #BD916B #6EBD6B #6B97BD
split-complementary
#BA6BBD #97BD6B #6BBD91
monochromatic
#763678 #9F48A2 #BA6BBD #CE95D0 #E1C0E3

Accessibility & contrast

On white

3.54
#BA6BBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#BA6BBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA6BBD
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA6BBD#FFFFFF#000000##000000
##BA6BBD1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6382C0
Deuteranopia (green-blind)
#798CBA
Tritanopia (blue-blind)
#BE748B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ba6bbd;
/* rgb */ color: rgb(186, 107, 189);
/* oklch */ color: oklch(64.5% 0.146 325.8);
Tailwind
colors: {
  custom: {
    50: '#d097d1',
    500: '#ba6bbd',
    950: '#000000',
  },
}
SCSS
$custom: #ba6bbd;
$custom-light: #d097d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba6bbd",
  "rgb": {
    "r": 186,
    "g": 107,
    "b": 189
  },
  "hsl": {
    "h": 297.805,
    "s": 38.318,
    "l": 58.039
  },
  "oklch": {
    "l": 0.64476,
    "c": 0.14614,
    "h": 325.8
  },
  "luminance": 0.24629
}

Semantic roles & 50–950 ramp

primary
#BA6BBD
secondary
#B3D2B2
accent
#CE5A5E
background
#FDF9FC
surface
#FAF2F9
border
#D3CCD2
text
#140E14
muted
#837E82

Preview Lab

Preview with #BA6BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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