#BA65CD#BA65CD

#BA65CD is a light, vivid purple. Relative luminance 0.242; OKLCH L 64.4% C 0.172 H 320.1°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#BA65CD
RGBrgb(186, 101, 205)
HSLhsl(289, 51%, 60%)
HSVhsv(289, 51%, 80%)
CMYKcmyk(9.3%, 50.7%, 0%, 19.6%)
CIE-LABlab(56.24, 50.11, -39.88)
CIE-LCHlch(56.24, 64.04, 321.48°)
OKLaboklab(64.37% 0.132 -0.1105)
OKLCHoklch(64.37% 0.172 320.1)
XYZxyz(35.9215, 24.1557, 60.5161)
Luminance0.2415 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA65CD #78CD65
analogous
#8665CD #BA65CD #CD65AC
triadic
#BA65CD #CDBA65 #65CDBA
tetradic
#BA65CD #CD8665 #78CD65 #65ACCD
square
#BA65CD #CD8665 #78CD65 #65ACCD
split-complementary
#BA65CD #ACCD65 #65CD86
monochromatic
#792D8B #A23CB9 #BA65CD #CF93DC #E3C1EB

Accessibility & contrast

On white

3.60
#BA65CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#BA65CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA65CD
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA65CD#FFFFFF#000000##000000
##BA65CD1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5381D0
Deuteranopia (green-blind)
#6D8ACA
Tritanopia (blue-blind)
#BB7390
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ba65cd;
/* rgb */ color: rgb(186, 101, 205);
/* oklch */ color: oklch(64.4% 0.172 320.1);
Tailwind
colors: {
  custom: {
    50: '#d194dc',
    500: '#ba65cd',
    950: '#000000',
  },
}
SCSS
$custom: #ba65cd;
$custom-light: #d194dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba65cd",
  "rgb": {
    "r": 186,
    "g": 101,
    "b": 205
  },
  "hsl": {
    "h": 289.038,
    "s": 50.98,
    "l": 60
  },
  "oklch": {
    "l": 0.64365,
    "c": 0.1721,
    "h": 320.1
  },
  "luminance": 0.24154
}

Semantic roles & 50–950 ramp

primary
#BA65CD
secondary
#BADBB3
accent
#DA4D67
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #BA65CD

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

Preview Lab → · Contrast checker → · Palette generator →

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