#BA65BD#BA65BD

#BA65BD is a light, vivid purple. Relative luminance 0.234; OKLCH L 63.6% C 0.156 H 326.0°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#BA65BD
RGBrgb(186, 101, 189)
HSLhsl(298, 40%, 57%)
HSVhsv(298, 47%, 74%)
CMYKcmyk(1.6%, 46.6%, 0%, 25.9%)
CIE-LABlab(55.50, 47.03, -31.90)
CIE-LCHlch(55.50, 56.83, 325.86°)
OKLaboklab(63.58% 0.1296 -0.0875)
OKLCHoklch(63.58% 0.156 326)
XYZxyz(34.0880, 23.4223, 50.8597)
Luminance0.2342 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA65BD #68BD65
analogous
#8E65BD #BA65BD #BD6594
triadic
#BA65BD #BDBA65 #65BDBA
tetradic
#BA65BD #BD8E65 #68BD65 #6594BD
square
#BA65BD #BD8E65 #68BD65 #6594BD
split-complementary
#BA65BD #94BD65 #65BD8E
monochromatic
#733275 #9D45A0 #BA65BD #CD90CF #E0BBE2

Accessibility & contrast

On white

3.69
#BA65BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#BA65BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA65BD
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA65BD#FFFFFF#000000##000000
##BA65BD1.003.695.685.68
#FFFFFF3.691.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7EC0
Deuteranopia (green-blind)
#7589BA
Tritanopia (blue-blind)
#BE6F88
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ba65bd;
/* rgb */ color: rgb(186, 101, 189);
/* oklch */ color: oklch(63.6% 0.156 326.0);
Tailwind
colors: {
  custom: {
    50: '#d194d1',
    500: '#ba65bd',
    950: '#000000',
  },
}
SCSS
$custom: #ba65bd;
$custom-light: #d194d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba65bd",
  "rgb": {
    "r": 186,
    "g": 101,
    "b": 189
  },
  "hsl": {
    "h": 297.955,
    "s": 40,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63576,
    "c": 0.15635,
    "h": 326
  },
  "luminance": 0.23421
}

Semantic roles & 50–950 ramp

primary
#BA65BD
secondary
#AED1AD
accent
#D0585C
background
#FDF9FC
surface
#FAF2F9
border
#D3CCD2
text
#140D14
muted
#837E82

Preview Lab

Preview with #BA65BD

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

Preview Lab → · Contrast checker → · Palette generator →

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