#BA65CC#BA65CC

#BA65CC is a light, vivid purple. Relative luminance 0.241; OKLCH L 64.3% C 0.171 H 320.4°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#BA65CC
RGBrgb(186, 101, 204)
HSLhsl(290, 50%, 60%)
HSVhsv(290, 50%, 80%)
CMYKcmyk(8.8%, 50.5%, 0%, 20%)
CIE-LABlab(56.20, 49.91, -39.39)
CIE-LCHlch(56.20, 63.58, 321.72°)
OKLaboklab(64.31% 0.1318 -0.109)
OKLCHoklch(64.31% 0.171 320.4)
XYZxyz(35.8011, 24.1075, 59.8824)
Luminance0.2411 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA65CC #77CC65
analogous
#8765CC #BA65CC #CC65AA
triadic
#BA65CC #CCBA65 #65CCBA
tetradic
#BA65CC #CC8765 #77CC65 #65AACC
square
#BA65CC #CC8765 #77CC65 #65AACC
split-complementary
#BA65CC #AACC65 #65CC87
monochromatic
#792D89 #A23DB7 #BA65CC #CF93DB #E3C1EA

Accessibility & contrast

On white

3.61
#BA65CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#BA65CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA65CC
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA65CC#FFFFFF#000000##000000
##BA65CC1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5481CF
Deuteranopia (green-blind)
#6E8AC9
Tritanopia (blue-blind)
#BB738F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ba65cc;
/* rgb */ color: rgb(186, 101, 204);
/* oklch */ color: oklch(64.3% 0.171 320.4);
Tailwind
colors: {
  custom: {
    50: '#d194dc',
    500: '#ba65cc',
    950: '#000000',
  },
}
SCSS
$custom: #ba65cc;
$custom-light: #d194dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba65cc",
  "rgb": {
    "r": 186,
    "g": 101,
    "b": 204
  },
  "hsl": {
    "h": 289.515,
    "s": 50.244,
    "l": 59.804
  },
  "oklch": {
    "l": 0.64314,
    "c": 0.1711,
    "h": 320.4
  },
  "luminance": 0.24106
}

Semantic roles & 50–950 ramp

primary
#BA65CC
secondary
#B9DAB2
accent
#DA4E66
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #BA65CC

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

Preview Lab → · Contrast checker → · Palette generator →

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