#BA65C8#BA65C8

#BA65C8 is a light, vivid purple. Relative luminance 0.239; OKLCH L 64.1% C 0.167 H 321.8°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#BA65C8
RGBrgb(186, 101, 200)
HSLhsl(292, 47%, 59%)
HSVhsv(292, 50%, 78%)
CMYKcmyk(7%, 49.5%, 0%, 21.6%)
CIE-LABlab(56.01, 49.13, -37.41)
CIE-LCHlch(56.01, 61.75, 322.71°)
OKLaboklab(64.11% 0.1313 -0.1033)
OKLCHoklch(64.11% 0.167 321.8)
XYZxyz(35.3276, 23.9181, 57.3882)
Luminance0.2392 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA65C8 #73C865
analogous
#8965C8 #BA65C8 #C865A5
triadic
#BA65C8 #C8BA65 #65C8BA
tetradic
#BA65C8 #C88965 #73C865 #65A5C8
square
#BA65C8 #C88965 #73C865 #65A5C8
split-complementary
#BA65C8 #A5C865 #65C889
monochromatic
#782F84 #A13FB1 #BA65C8 #CE92D8 #E2BFE8

Accessibility & contrast

On white

3.63
#BA65C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#BA65C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA65C8
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA65C8#FFFFFF#000000##000000
##BA65C81.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5680CB
Deuteranopia (green-blind)
#708AC5
Tritanopia (blue-blind)
#BC728D
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ba65c8;
/* rgb */ color: rgb(186, 101, 200);
/* oklch */ color: oklch(64.1% 0.167 321.8);
Tailwind
colors: {
  custom: {
    50: '#d194d9',
    500: '#ba65c8',
    950: '#000000',
  },
}
SCSS
$custom: #ba65c8;
$custom-light: #d194d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba65c8",
  "rgb": {
    "r": 186,
    "g": 101,
    "b": 200
  },
  "hsl": {
    "h": 291.515,
    "s": 47.368,
    "l": 59.02
  },
  "oklch": {
    "l": 0.64112,
    "c": 0.1671,
    "h": 321.8
  },
  "luminance": 0.23917
}

Semantic roles & 50–950 ramp

primary
#BA65C8
secondary
#B6D8B1
accent
#D75164
background
#FDF9FD
surface
#FAF2FA
border
#D3CCD3
text
#140D14
muted
#837E83

Preview Lab

Preview with #BA65C8

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

Preview Lab → · Contrast checker → · Palette generator →

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